DataFrame.mean(axis=_NoDefault.no_default, skipna=True, numeric_only=False, **kwargs)[source]#

Return the mean of the values over the requested axis.

axis{index (0), columns (1)}

Axis for the function to be applied on. For Series this parameter is unused and defaults to 0.

skipnabool, default True

Exclude NA/null values when computing the result.

numeric_onlybool, default False

Include only float, int, boolean columns. Not implemented for Series.


Additional keyword arguments to be passed to the function.

Series or DataFrame (if level specified)