pandas.core.window.ewm.ExponentialMovingWindow.mean

ExponentialMovingWindow.mean(*args, **kwargs)[source]

Calculate the ewm (exponential weighted moment) mean.

Parameters
*args

For NumPy compatibility and will not have an effect on the result.

**kwargs

For NumPy compatibility and will not have an effect on the result.

Returns
Series or DataFrame

Return type is the same as the original object.

See also

pandas.Series.ewm

Calling ewm with Series data.

pandas.DataFrame.ewm

Calling ewm with DataFrames.

pandas.Series.mean

Aggregating mean for Series.

pandas.DataFrame.mean

Aggregating mean for DataFrame.