Skip to content

Commit

Permalink
Docs: Update doc string to not reference deprecated function fillna f…
Browse files Browse the repository at this point in the history
…or ffill (pandas-dev#54728)

* update doc string to not reference deprecated function fillna

* put on one line
  • Loading branch information
sleepypioneer committed Aug 24, 2023
1 parent 36bcae3 commit 87b3bb5
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 @@ -7368,7 +7368,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 87b3bb5

Please sign in to comment.