Skip to content

Commit 568d518

Browse files
update window
1 parent 6684f34 commit 568d518

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

pandas/core/groupby/groupby.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3605,10 +3605,10 @@ def rolling(
36053605
Parameters
36063606
----------
36073607
window : int, timedelta, str, offset, or BaseIndexer subclass
3608-
Size of the moving window.
3608+
Interval of the moving window.
36093609
3610-
If an integer, the fixed number of observations used for
3611-
each window.
3610+
If an integer, the delta between the start and end of each window.
3611+
Example: window = 3 interval from 1 -> 4
36123612
36133613
If a timedelta, str, or offset, the time period of each window. Each
36143614
window will be a variable sized based on the observations included in

pandas/core/window/rolling.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -881,10 +881,10 @@ class Window(BaseWindow):
881881
Parameters
882882
----------
883883
window : int, timedelta, str, offset, or BaseIndexer subclass
884-
Size of the moving window.
884+
Interval of the moving window.
885885
886-
If an integer, the fixed number of observations used for
887-
each window.
886+
If an integer, the delta between the start and end of each window.
887+
Example: window = 3 interval from 1 -> 4
888888
889889
If a timedelta, str, or offset, the time period of each window. Each
890890
window will be a variable sized based on the observations included in

0 commit comments

Comments
 (0)