[Numpy-discussion] feedback request: proposal to add masks to the core ndarray
Matthew Brett
matthew.brett at gmail.com
Fri Jun 24 14:04:11 EDT 2011
Hi,
Just as a use case, if I do this:
a = np.zeros((big_number,), dtype=np.int32)
a[0,0] = np.NA
I think I'm right in saying that, with the array.mask implementation
my array memory usage with grow by new big_number bytes, whereas with
the np.naint32 implementation you'd get something like:
Error('This data type does not allow missing values')
Is that right?
See y'all,
Matthew
More information about the NumPy-Discussion
mailing list