[Numpy-discussion] dtype=None as default for np.genfromtxt ?
Sun Feb 14 14:13:57 CST 2010
On Feb 14, 2010, at 9:27 AM, Stéfan van der Walt wrote:
> On 14 February 2010 14:54, Pierre GM <firstname.lastname@example.org> 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