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:
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.22.0.txt
+2-2
Original file line number
Diff line number
Diff line change
@@ -209,8 +209,8 @@ Removal of prior version deprecations/changes
209
209
- The ``SparseList`` class has been removed (:issue:`14007`)
210
210
- The ``pandas.io.wb`` and ``pandas.io.data`` stub modules have been removed (:issue:`13735`)
211
211
- ``Categorical.from_array`` has been removed (:issue:`13854`)
212
-
- The ``freq`` parameter has been removed from the ``rolling``/``expanding``/``ewm`` methods of DataFrame
213
-
and Series (deprecated since v0.18). Instead, resample before calling the methods. (:issue:18601)
212
+
- The ``freq`` and ``how`` parameters have been removed from the ``rolling``/``expanding``/``ewm`` methods of DataFrame
213
+
and Series (deprecated since v0.18). Instead, resample before calling the methods. (:issue:18601 & :issue:18668)
214
214
- ``DatetimeIndex.to_datetime``, ``Timestamp.to_datetime``, ``PeriodIndex.to_datetime``, and ``Index.to_datetime`` have been removed (:issue:`8254`, :issue:`14096`, :issue:`14113`)
0 commit comments