-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
Closed
Labels
DocsMissing-datanp.nan, pd.NaT, pd.NA, dropna, isnull, interpolatenp.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Milestone
Description
Pandas version checks
- I have checked that the issue still exists on the latest versions of the docs on
mainhere
Location of the documentation
https://pandas.pydata.org/docs/user_guide/cookbook.html#cookbook-missing-data
Documentation problem
DOC says use df.reindex(df.index[::-1]).ffill()
but df.bfill() is available, maybe after some version? I don't know
Do we need to do df.reindex(df.index[::-1]).bfill() when index is alway sorted?
Suggested fix for documentation
replace df.reindex(df.index[::-1]).ffill() with df.bfill()
Metadata
Metadata
Assignees
Labels
DocsMissing-datanp.nan, pd.NaT, pd.NA, dropna, isnull, interpolatenp.nan, pd.NaT, pd.NA, dropna, isnull, interpolate