pandas-dev / pandas

Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
https://pandas.pydata.org
BSD 3-Clause "New" or "Revised" License
43.75k stars 17.96k forks source link

DOC: Improve documentation df.interpolate() for methods ‘time’, ‘index’ and ‘values’ #60227

Closed aleksejs-fomins closed 7 minutes ago

aleksejs-fomins commented 5 days ago

Pandas version checks

Location of the documentation

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

Documentation problem

It is not possible to understand what exactly the method interpolate does from reading the documentation. See e.g. this SE post for more details

https://stackoverflow.com/questions/65511992/pandas-interpolation-type-when-method-index

Suggested fix for documentation

Rewrite doctstring and documentation page for the method

rhshadrach commented 5 days ago

Thanks for the report, agreed this could use clarification. PRs to improve are welcome!

anishkarki commented 4 days ago

take