Skip to content

Commit d489393

Browse files
authored
TYP: Expanding.__init__ (#47308)
1 parent a45c7fa commit d489393

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

pandas/core/window/expanding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def __init__(
127127
self,
128128
obj: NDFrame,
129129
min_periods: int = 1,
130-
center=None,
130+
center: bool | None = None,
131131
axis: Axis = 0,
132132
method: str = "single",
133133
selection=None,

pandas/core/window/rolling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def __init__(
122122
obj: NDFrame,
123123
window=None,
124124
min_periods: int | None = None,
125-
center: bool = False,
125+
center: bool | None = False,
126126
win_type: str | None = None,
127127
axis: Axis = 0,
128128
on: str | Index | None = None,

pyright_reportGeneralTypeIssues.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@
8585
"pandas/core/util/hashing.py",
8686
"pandas/core/util/numba_.py",
8787
"pandas/core/window/ewm.py",
88-
"pandas/core/window/expanding.py",
8988
"pandas/core/window/rolling.py",
9089
"pandas/io/common.py",
9190
"pandas/io/excel/_base.py",

0 commit comments

Comments
 (0)