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/whatsnew/v0.18.0.txt
+7-5
Original file line number
Diff line number
Diff line change
@@ -86,8 +86,8 @@ And multiple aggregations
86
86
87
87
.. ipython:: python
88
88
89
-
r.agg({'A' : {'ra' : ['mean','std']},
90
-
'B' : {'rb' : ['mean','std']}})
89
+
r.agg({'A' : ['mean','std'],
90
+
'B' : ['mean','std']})
91
91
92
92
.. _whatsnew_0180.enhancements.other:
93
93
@@ -239,15 +239,17 @@ Deprecations
239
239
2 0.5
240
240
dtype: float64
241
241
242
-
- The the ``freq`` and ``how`` arguments to the ``.rolling``, ``.expanding``, and ``.ewm`` (new) functions are deprecated, and will be removed in a future version. (:issue:`11603`)
242
+
- The the ``freq`` and ``how`` arguments to the ``.rolling``, ``.expanding``, and ``.ewm`` (new) functions are deprecated, and will be removed in a future version. You can simply resample the input prior to creating a window function. (:issue:`11603`).
243
+
244
+
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',how='max').rolling(window=5).max()``, which first resamples the data to daily data, then provides a rolling 5 day window.
243
245
244
246
.. _whatsnew_0180.prior_deprecations:
245
247
246
248
Removal of prior version deprecations/changes
247
249
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
248
250
249
-
- Removal of ``rolling_corr_parwise`` in favor of ``.rolling().corr(pairwise=True)`` (:issue:`4950`)
250
-
- Removal of ``expanding_corr_parwise`` in favor of ``.expanding().corr(pairwise=True)`` (:issue:`4950`)
251
+
- Removal of ``rolling_corr_pairwise`` in favor of ``.rolling().corr(pairwise=True)`` (:issue:`4950`)
252
+
- Removal of ``expanding_corr_pairwise`` in favor of ``.expanding().corr(pairwise=True)`` (:issue:`4950`)
0 commit comments