Skip to content

Commit ebdf6ef

Browse files
mattboggesstm9k1
authored andcommitted
DOC: Clarify rolling min_periods default value GH21489 (pandas-dev#23021)
1 parent 2b24abd commit ebdf6ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/window.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,8 @@ class Window(_Window):
462462
min_periods : int, default None
463463
Minimum number of observations in window required to have a value
464464
(otherwise result is NA). For a window that is specified by an offset,
465-
this will default to 1.
465+
`min_periods` will default to 1. Otherwise, `min_periods` will default
466+
to the size of the window.
466467
center : boolean, default False
467468
Set the labels at the center of the window.
468469
win_type : string, default None

0 commit comments

Comments
 (0)