[Numpy-discussion] Median method for ndarray

Gökhan Sever gokhansever at gmail.com
Wed Oct 27 11:12:30 EDT 2010


Hello,

Is there a particular reason why there isn't a median method for
ndarray? If not so, could we get one? Probably will go somewhere in
this file: http://github.com/numpy/numpy/blob/master/numpy/core/src/multiarray/methods.c

I find it more practical to do array.mean() rather than
np.mean(array), likewise would be useful having a similar method for
median calculation.

Thanks.

-- 
Gökhan



More information about the NumPy-Discussion mailing list