[Numpy-discussion] saving an array of strings
Mon Mar 2 11:30:55 CST 2009
On Mon, Mar 2, 2009 at 04:26, Timmie <firstname.lastname@example.org> wrote:
> can numpy.savetxt save an array of strings?
You need to use fmt= argument to specify the format string(s). The
default is %10.5f, so it only works for floats.
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the Numpy-discussion