[Numpy-discussion] reminder: dtype for empty, zeros, ones

Alan G Isaac aisaac at american.edu
Tue Apr 11 20:45:01 CDT 2006


I notice that the empty, ones, and zeros still have an
integer default dtype (numpy 0.9.6).  I had the impression
that this was slated to change to a float dtype, on the
reasonable assumption that new users will otherwise be
surprised.  Perhaps I remember this incorrectly.

Cheers,
Alan Isaac







More information about the Numpy-discussion mailing list