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

Darren Dale dsdale24 at gmail.com
Sat Mar 7 11:46:41 EST 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.python.org/pipermail/numpy-discussion/attachments/20090307/5e13eb6f/attachment.html>


More information about the NumPy-Discussion mailing list