Skip to content

DOC: Series.interpolate and DataFrame.Interpolate refer to methods that are no longer there. #57092

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
caneff opened this issue Jan 26, 2024 · 3 comments · Fixed by #57720
Closed
1 task done
Assignees
Labels
Docs good first issue Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate

Comments

@caneff
Copy link
Contributor

caneff commented Jan 26, 2024

Pandas version checks

  • I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

https://pandas.pydata.org/docs/reference/api/pandas.Series.interpolate.html
https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.interpolate.html

Documentation problem

There is documentation under the limit_direction argument that refers to 'backfill' 'pad' 'bfill' and 'ffill' methods, but those are not on the list of supported methods.

Also there is no mention of how someone would do something like bfill or ffill if they look up the interpolate doc instead.

Suggested fix for documentation

Get rid of all parts that reference bfill ffill pad backfill as allowable methods.

Consider adding bfill and ffill to the "See also" section if people have come to interpolate still looking for that.

@caneff caneff added Docs Needs Triage Issue that has not been reviewed by a pandas team member labels Jan 26, 2024
@rhshadrach
Copy link
Member

Thanks for the report- agree on all counts, PRs welcome!

@rhshadrach rhshadrach added Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate good first issue and removed Needs Triage Issue that has not been reviewed by a pandas team member labels Jan 26, 2024
@shriyakalakata
Copy link
Contributor

take

@sjalkote
Copy link
Contributor

sjalkote commented Mar 4, 2024

take

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docs good first issue Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Projects
None yet
4 participants