scipy.stats.median

scipy.stats.median(a, axis=0)

Returns the median of the passed array along the given axis.

If there is an even number of entries, the mean of the 2 middle values is returned.

Parameters :

a : array

axis=0 : int

Returns :

The median of each remaining axis, or of all of the values in the array :

if axis is None. :

Previous topic

scipy.stats.cmedian

Next topic

scipy.stats.mode

This Page