pandas 0.9.0 documentation

pandas.Series.median

Series.median(axis=0, dtype=None, out=None, skipna=True, level=None)

Return median of values NA/null values are excluded

Parameters :

skipna : boolean, default True

Exclude NA/null values

level : int, default None

If the axis is a MultiIndex (hierarchical), count along a particular level, collapsing into a smaller Series

Returns :

median : float (or Series if level specified)