Skip to content

Commit 87b3bb5

Browse files
Docs: Update doc string to not reference deprecated function fillna for ffill (#54728)
* update doc string to not reference deprecated function fillna * put on one line
1 parent 36bcae3 commit 87b3bb5

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
@@ -7368,7 +7368,7 @@ def ffill(
73687368
downcast: dict | None | lib.NoDefault = lib.no_default,
73697369
) -> Self | None:
73707370
"""
7371-
Synonym for :meth:`DataFrame.fillna` with ``method='ffill'``.
7371+
Fill NA/NaN values by propagating the last valid observation to next valid.
73727372
73737373
Returns
73747374
-------

0 commit comments

Comments
 (0)