You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* nd-rolling
* remove unnecessary print
* black
* finding a bug...
* make tests for ndrolling pass
* make center and window_dim a dict
* A cleanup.
* Revert test_units
* make test pass
* More tests.
* more docs
* mypy
* improve whatsnew
* Improve doc
* Support nd-rolling in dask correctly
* Cleanup according to max's comment
* flake8
* black
* stop using either_dict_or_kwargs
* Better tests.
* typo
* mypy
* typo2
Copy file name to clipboardExpand all lines: doc/computation.rst
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -188,9 +188,16 @@ a value when aggregating:
188
188
r = arr.rolling(y=3, center=True, min_periods=2)
189
189
r.mean()
190
190
191
+
From version 0.17, xarray supports multidimensional rolling,
192
+
193
+
.. ipython:: python
194
+
195
+
r = arr.rolling(x=2, y=3, min_periods=2)
196
+
r.mean()
197
+
191
198
.. tip::
192
199
193
-
Note that rolling window aggregations are faster and use less memory when bottleneck_ is installed. This only applies to numpy-backed xarray objects.
200
+
Note that rolling window aggregations are faster and use less memory when bottleneck_ is installed. This only applies to numpy-backed xarray objects with 1d-rolling.
0 commit comments