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. : |