[Numpy-discussion] Re: ndarray.fill and ma.array.filled

Russell E. Owen rowen at cesmail.net
Tue Apr 11 13:32:14 EDT 2006


In article <d38f5330604071219j6a5adbdw4a300ed10a26a445 at mail.gmail.com>,
 Sasha <ndarray at mac.com> wrote:

> I disagree. Numpy is pretty much alone among the array languages because it
> does not have "native" support for missing values. For the  floating point
> types some rudimental support for nans exists, but is not really usable.
> There is no missing values machanism for integer types.  I believe adding
> "filled" and maybe "mask" to ndarray (not necessarily under these names)
> could be a meaningful step towards "native" support for missing values.

I completely agree with this. I would really like to see proper native 
support for arrays with masked values in numpy (such that all ufuncs, 
functions, etc. work with masked arrays).

I would be thrilled to be able to filter masked arrays, for instance.

-- Russell





More information about the NumPy-Discussion mailing list