[Numpy-discussion] different behaviour in asfarray(None)
Stéfan van der Walt
Wed Apr 23 02:30:18 CDT 2008
2008/4/23 Travis E. Oliphant <firstname.lastname@example.org>:
> I'm curious who made the change and why. There was code intentionally
> there to interpret None as nan for float arrays. So, I don't
> understand why and/or when it changed.
I find that behaviour counterintuitive (I'm not the one who changed it, though).
Why shouldn't asfarray behave the same way as np.array(x).astype(float)?
More information about the Numpy-discussion