[Numpy-discussion] Subclassing ma.MaskedArray

Matt Knox mattknox.ca at gmail.com
Tue Mar 16 20:58:22 EDT 2010

David Carmean <dlc <at> halibut.com> writes:

> I understand that ma.MaskedArray is a subclass of ndarray;  in addition to
> the requirements for subclassing the latter, what does ma.MaskedArray add to
> the list?  I.e. what do I have to watch out for?

You may want to take a look at the TimeSeries class in the scikits.timeseries
module for a rather extensive example of subclassing MaskedArray

- Matt

More information about the NumPy-Discussion mailing list