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.
a : array
axis=0 : int
The median of each remaining axis, or of all of the values in the array :
if axis is None. :