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
Copy file name to clipboardExpand all lines: doc/source/computation.rst
-6
Original file line number
Diff line number
Diff line change
@@ -253,12 +253,6 @@ accept the following arguments:
253
253
result is NA)
254
254
- ``center``: boolean, whether to set the labels at the center (default is False)
255
255
256
-
.. warning::
257
-
258
-
The ``freq`` and ``how`` arguments were in the API prior to 0.18.0 changes. These are deprecated in the new API. You can simply resample the input prior to creating a window function.
259
-
260
-
For example, instead of ``s.rolling(window=5,freq='D').max()`` to get the max value on a rolling 5 Day window, one could use ``s.resample('D').max().rolling(window=5).max()``, which first resamples the data to daily data, then provides a rolling 5 day window.
261
-
262
256
We can then call methods on these ``rolling`` objects. These return like-indexed objects:
0 commit comments