xarray.Dataset.cumulative#
- Dataset.cumulative(dim, min_periods=1)[source]#
Accumulating object for Datasets
- Parameters
dims (iterable of hashable) – The name(s) of the dimensions to create the cumulative window along
min_periods (
int
, default:1
) – Minimum number of observations in window required to have a value (otherwise result is NA). The default is 1 (note this is different fromRolling
, whose default is the size of the window).
- Returns