[Numpy-discussion] savetxt fmt argument fails when using a unicode string
Daπid
davidmenhur at gmail.com
Thu Nov 14 05:22:23 EST 2013
On 14 November 2013 09:25, Pierre Haessig <pierre.haessig at crans.org> wrote:
> Le 13/11/2013 17:54, Daπid a écrit :
> >
> > np.savetxt('a.csv', [1], fmt=str('%.3f'))
> Thanks, that's what I did too.
>
> I'm just still wondering whether there is a cleaner solution...
>
I have a fix, I am submitting a PR. The only thing I am missing is where
the tests for IO are.
https://github.com/numpy/numpy/pull/4053
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20131114/40713f11/attachment.html>
More information about the NumPy-Discussion
mailing list