Skip to content

Commit

Permalink
Backport PR #39978: DOC: fix template substitution in pad/bfill docst…
Browse files Browse the repository at this point in the history
…rings (#40017)

Co-authored-by: Dylan Percy <dylanpercy@googlemail.com>
  • Loading branch information
meeseeksmachine and dylanp-git committed Feb 24, 2021
1 parent 3b671c8 commit e0321f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pandas/core/generic.py
Expand Up @@ -6438,6 +6438,7 @@ def fillna(
return result.__finalize__(self, method="fillna")

@final
@doc(klass=_shared_doc_kwargs["klass"])
def ffill(
self: FrameOrSeries,
axis=None,
Expand All @@ -6460,6 +6461,7 @@ def ffill(
pad = ffill

@final
@doc(klass=_shared_doc_kwargs["klass"])
def bfill(
self: FrameOrSeries,
axis=None,
Expand Down

0 comments on commit e0321f1

Please sign in to comment.