Skip to content

Commit

Permalink
DOC: added deprecation message in docs for DataFrame.rolling (#55177)
Browse files Browse the repository at this point in the history
* added deprecation message in docs

* requested changes
  • Loading branch information
rsm-23 authored Sep 18, 2023
1 parent 6dc4a65 commit 025e6ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pandas/core/window/rolling.py
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,11 @@ class Window(BaseWindow):
For `Series` this parameter is unused and defaults to 0.
.. deprecated:: 2.1.0
The axis keyword is deprecated. For ``axis=1``,
transpose the DataFrame first instead.
closed : str, default None
If ``'right'``, the first point in the window is excluded from calculations.
Expand Down

0 comments on commit 025e6ae

Please sign in to comment.