Skip to content

Commit 4f66163

Browse files
Backport PR pandas-dev#54728 on branch 2.1.x (Docs: Update doc string to not reference deprecated function fillna for ffill) (pandas-dev#54740)
Backport PR pandas-dev#54728: Docs: Update doc string to not reference deprecated function fillna for ffill Co-authored-by: Jessica Greene <[email protected]>
1 parent 9cc7a2f commit 4f66163

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)