xarray.core.rolling_exp.RollingExp

xarray.core.rolling_exp.RollingExp#

class xarray.core.rolling_exp.RollingExp(obj, windows, window_type='span', min_weight=0.0)[source]#

Exponentially-weighted moving window object. Similar to EWM in pandas

Parameters:
Returns:

RollingExp (type of input argument)

__init__(obj, windows, window_type='span', min_weight=0.0)[source]#

Methods

__init__(obj, windows[, window_type, min_weight])

corr(other)

Exponentially weighted moving correlation.

cov(other)

Exponentially weighted moving covariance.

mean([keep_attrs])

Exponentially weighted moving average.

std()

Exponentially weighted moving standard deviation.

sum([keep_attrs])

Exponentially weighted moving sum.

var()

Exponentially weighted moving variance.