-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: fix docstring for DataFrame.interpolate #7553
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
Conversation
hmm.... @TomAugspurger ? |
I think 'index' and 'values' are supposed to be synonyms: #4915 (comment) values was the old one, but 'index' makes more sense after that PR. @jdreaver want to adjust your PR to do this? Just need to add 'index' to I can do a PR if need be, but my wi-fi has been spotty :( |
That makes sense. Should I remove |
I went ahead and added |
they index is their for compat as that was the old method iirc |
@TomAugspurger what is |
@jdreaver can you add some tests for this ? |
@jreback, I'll get around to it in the next couple days. |
@TomAugspurger what's the status here? |
I think just waiting on a test that @jdreaver's fix is correct. The code looks fine, but it'd be nice to have a test. |
I guess I didn't get around to it... I'll do it today in the next few hours. |
I found the test where |
gr8 pls ping in green |
DOC: fix docstring for DataFrame.interpolate
@jdreaver thanks! |
No problem! Sorry for forgetting about writing those tests! |
In the old docstring,
'index'
is listed as a valid value for themethod
kwarg forDataFrame.interpolate
. It looks like a typo, because there was no comma after'index'
, and the explanation for'index'
corresponded to'values'
. Furthermore, it appears'index'
is not a valid value formethod
: