Skip to content

Commit 081167d

Browse files
authored
add typehint for None pct_change (#51343)
1 parent 89b510c commit 081167d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10812,7 +10812,7 @@ def describe(
1081210812
def pct_change(
1081310813
self: NDFrameT,
1081410814
periods: int = 1,
10815-
fill_method: Literal["backfill", "bfill", "pad", "ffill"] = "pad",
10815+
fill_method: Literal["backfill", "bfill", "pad", "ffill"] | None = "pad",
1081610816
limit=None,
1081710817
freq=None,
1081810818
**kwargs,

0 commit comments

Comments
 (0)