A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pandas.pydata.org/docs/dev/user_guide/../reference/api/pandas.Series.mean.html below:

pandas.Series.mean — pandas 3.0.0.dev0+2232.ga2315af1df documentation

pandas.Series.mean#
Series.mean(*, axis=0, skipna=True, numeric_only=False, **kwargs)[source]#

Return the mean of the values over the requested axis.

Parameters:
axis{index (0)}

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

For DataFrames, specifying axis=None will apply the aggregation across both axes.

Added in version 2.0.0.

skipnabool, default True

Exclude NA/null values when computing the result.

numeric_onlybool, default False

Include only float, int, boolean columns.

**kwargs

Additional keyword arguments to be passed to the function.

Returns:
scalar or Series (if level specified)

Mean of the values for the requested axis.

Examples

>>> s = pd.Series([1, 2, 3])
>>> s.mean()
2.0

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4