Skip to content

Commit cde04e0

Browse files
rsm-23hedeershowk
authored andcommitted
DOC: added deprecation message in docs for DataFrame.rolling (pandas-dev#55177)
* added deprecation message in docs * requested changes
1 parent 098ed3f commit cde04e0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pandas/core/window/rolling.py

+5
Original file line numberDiff line numberDiff line change
@@ -937,6 +937,11 @@ class Window(BaseWindow):
937937
938938
For `Series` this parameter is unused and defaults to 0.
939939
940+
.. deprecated:: 2.1.0
941+
942+
The axis keyword is deprecated. For ``axis=1``,
943+
transpose the DataFrame first instead.
944+
940945
closed : str, default None
941946
If ``'right'``, the first point in the window is excluded from calculations.
942947

0 commit comments

Comments
 (0)