pandas 0.8.1 documentation

pandas.Series.mean

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

Return mean 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

Extra parameters are to preserve ndarrayinterface. :

Returns :

mean : float (or Series if level specified)