[Numpy-discussion] median object
Mon Jul 6 18:00:41 CDT 2009
Hi, I want to be able to do something like:
so that in a function, I can call
and allow x to be a masked array or a numpy array.
Using the ma.median version by default is something of a workaround, because
it appears to work on both numpy arrays and masked arrays. My question,
though, is: why is median() not implemented as an attribute of the
array/masked array object, while min/max/mean/std are? Is there a better
View this message in context: http://www.nabble.com/median-object-tp24364327p24364327.html
Sent from the Numpy-discussion mailing list archive at Nabble.com.
More information about the NumPy-Discussion