Skip to content

Commit

Permalink
Backport PR #54728 on branch 2.1.x (Docs: Update doc string to not re…
Browse files Browse the repository at this point in the history
…ference deprecated function fillna for ffill) (#54740)

Backport PR #54728: Docs: Update doc string to not reference deprecated function fillna for ffill

Co-authored-by: Jessica Greene <jessica0greene@gmail.com>
  • Loading branch information
meeseeksmachine and sleepypioneer authored Aug 24, 2023
1 parent 9cc7a2f commit 4f66163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -7348,7 +7348,7 @@ def ffill(
downcast: dict | None | lib.NoDefault = lib.no_default,
) -> Self | None:
"""
Synonym for :meth:`DataFrame.fillna` with ``method='ffill'``.
Fill NA/NaN values by propagating the last valid observation to next valid.
Returns
-------
Expand Down

0 comments on commit 4f66163

Please sign in to comment.