[Numpy-discussion] Default dtype of genfromtxt

Benjamin Root ben.root at ou.edu
Tue Feb 18 18:29:59 EST 2014


I can certainly see the advantage of switching over to None. It makes a lot
of sense. One thing that concerns me, though is a file full of whole number
values. Would that get interpreted as integers? If so, then that affect
needs to be aligned with some other proposed changes with respect to
operations with integers such as "**".  We might have some unintended
consequences if we are not careful.

Cheers!
Ben Root


On Tue, Feb 18, 2014 at 6:03 PM, Charles R Harris <charlesr.harris at gmail.com
> wrote:

> This is apropos issue #1860 <https://github.com/numpy/numpy/issues/1860>,
> where it is proposed that the default dtype of genfromtxt should be None
> rather than float. A decision is needed.
>
> Thoughts?
>
> Chuck
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20140218/2779993e/attachment.html>


More information about the NumPy-Discussion mailing list