[Numpy-discussion] saving an array of strings

Timmie timmichelsen@gmx-topmail...
Mon Mar 2 04:26:05 CST 2009


Hello,
can numpy.savetxt save an array of strings?

I got the following arror when saving an array containing strings formatted from
datetime objects:

  File "C:\Programme\pythonxy\python\lib\site-packages\numpy\lib\io.py", line
542, in savetxt
    fh.write(format % tuple(row) + '\n')
TypeError: float argument required

Thanks for any help & regards,
Timmie



More information about the Numpy-discussion mailing list