Dec. 1, 2006
11:58 a.m.
On Friday 01 December 2006 06:19, Lionel Roubeyrie wrote:
Hi all, is it possible to subclass numpy.array to set extras functionalities and change the behavior of others? I can't find any docs on that.
Did you really look ;) ? http://www.scipy.org/Subclasses Check also the new implementation of MaskedArray, where masked arrays are implemented as subclass of ndarrays http://projects.scipy.org/scipy/numpy/wiki/MaskedArray. If you have some particular features in mind, let us know. P.