Skip to content

Commit acae171

Browse files
docstring fix for pandas.DataFrame.ffill
1 parent 2697213 commit acae171

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
899899
pandas.DataFrame.copy\
900900
pandas.DataFrame.droplevel\
901901
pandas.DataFrame.dtypes\
902-
pandas.DataFrame.ffill\
903902
pandas.DataFrame.first_valid_index\
904903
pandas.DataFrame.get\
905904
pandas.DataFrame.keys\

pandas/core/generic.py

+5
Original file line numberDiff line numberDiff line change
@@ -7139,6 +7139,11 @@ def ffill(
71397139
{klass} or None
71407140
Object with missing values filled or None if ``inplace=True``.
71417141
7142+
See Also
7143+
-------
7144+
DataFrame.bfill : Fill NA/NaN values by using the next valid observation
7145+
to fill the gap.
7146+
71427147
Examples
71437148
--------
71447149
>>> df = pd.DataFrame(

0 commit comments

Comments
 (0)