Skip to content

Commit 451f308

Browse files
DOC: Fix for #10823, updating min_periods docstring
1 parent 13cb1a7 commit 451f308

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/stats/ols.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,8 @@ class MovingOLS(OLS):
614614
size of window (for rolling/expanding OLS)
615615
min_periods : int
616616
Threshold of non-null data points to require.
617-
If None, defaults to size of window.
617+
If None, defaults to size of window for window_type='rolling' and 1
618+
otherwise
618619
intercept : bool
619620
True if you want an intercept.
620621
nw_lags : None or int

0 commit comments

Comments
 (0)