[Numpy-discussion] dtype=None as default for np.genfromtxt ?
Pierre GM
pgmdevlist at gmail.com
Sun Feb 14 15:13:57 EST 2010
On Feb 14, 2010, at 9:27 AM, Stéfan van der Walt wrote:
> On 14 February 2010 14:54, Pierre GM <pgmdevlist at gmail.com> wrote:
>> This backwards-incompatibility bugs me. Why don't we set dtype=None as the default for ndfromtxt & mafromtxt and tell people to use these functions instead (I'm pretty sure nobody knew they existed, so we can break them without upsetting anyone)(of course, there's gonna be a counterexample as soon as I post that).
>
> If `ndfromtxt' does the same as genfromtxt, why do we have it in the
> main numpy namespace?
Because it uses a slightly different set of defaults, so it's not exactly the same.
More information about the NumPy-Discussion
mailing list