Skip to content

Commit e0321f1

Browse files
Backport PR #39978: DOC: fix template substitution in pad/bfill docstrings (#40017)
Co-authored-by: Dylan Percy <[email protected]>
1 parent 3b671c8 commit e0321f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/core/generic.py

+2
Original file line numberDiff line numberDiff line change
@@ -6438,6 +6438,7 @@ def fillna(
64386438
return result.__finalize__(self, method="fillna")
64396439

64406440
@final
6441+
@doc(klass=_shared_doc_kwargs["klass"])
64416442
def ffill(
64426443
self: FrameOrSeries,
64436444
axis=None,
@@ -6460,6 +6461,7 @@ def ffill(
64606461
pad = ffill
64616462

64626463
@final
6464+
@doc(klass=_shared_doc_kwargs["klass"])
64636465
def bfill(
64646466
self: FrameOrSeries,
64656467
axis=None,

0 commit comments

Comments
 (0)