[Numpy-discussion] question about ndarray.astype(None)

Darren Dale dsdale24@gmail....
Sat Mar 7 10:46:41 CST 2009


I was wondering about the behavior of ndarray.astype when passed None.
Currently this defaults to float64, does anyone know why it doesn't default
to the instance's dtype? defaulting to float64 seems too arbitrary.

Thanks,
Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090307/5e13eb6f/attachment.html 


More information about the Numpy-discussion mailing list