Skip to content

Commit 89c2bac

Browse files
sleepypioneermeeseeksmachine
authored andcommitted
Backport PR pandas-dev#54728: Docs: Update doc string to not reference deprecated function fillna for ffill
1 parent c5adf1a commit 89c2bac

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
@@ -7348,7 +7348,7 @@ def ffill(
73487348
downcast: dict | None | lib.NoDefault = lib.no_default,
73497349
) -> Self | None:
73507350
"""
7351-
Synonym for :meth:`DataFrame.fillna` with ``method='ffill'``.
7351+
Fill NA/NaN values by propagating the last valid observation to next valid.
73527352
73537353
Returns
73547354
-------

0 commit comments

Comments
 (0)