-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
DOC: Additions/updates documentation for df.interpolate() methods #60227 #60247
DOC: Additions/updates documentation for df.interpolate() methods #60227 #60247
Conversation
@rhshadrach Could you review this PR to improve documentation for df.interpolate() methods as part of issue #60227?” |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! I see no difference between "actual numeric values" and "numeric values", so I think "actual" can be removed.
Co-authored-by: Richard Shadrach <[email protected]>
Co-authored-by: Richard Shadrach <[email protected]>
@rhshadrach I've made the requested changes to the documentation. Could you please review it again? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Thanks @anishkarki |
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.This PR improves the documentation for the
DataFrame.interpolate()
method and closes #60227The focus is on providing more precise descriptions and examples for the following
method
options:method="index"
: Emphasized that this method uses the actual numerical values of the index, which is particularly useful for non-sequential or time-based indices.method="time"
: Expanded on the description to specify that this method interpolates based on the time intervals between observations, suitable for data with a time-based index.method="values"
: Clarified that this method performs interpolation based on the actual numerical values within the DataFrame, treating them as equally spaced along the index.Changes Made
values
,index
, andtime
methods inDataFrame.interpolate()
.method="linear"
andmethod="index"
.