We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Index.rename() should return Self
Index.rename()
Self
To Reproduce
import pandas as pd ind = pd.Index([1,2,3], name="foo") ind2 = ind.rename("goo") reveal_type(ind2)
shows that ind2 is unknown
ind2
Please complete the following information:
pandas-stubs
The text was updated successfully, but these errors were encountered:
Need to fix rename() in core/indexes/base.pyi
rename()
core/indexes/base.pyi
Sorry, something went wrong.
May I take up this issue?
Assigned to you. go ahead. Need a fix and a test.
devesh-2002
Successfully merging a pull request may close this issue.
Describe the bug
Index.rename()
should returnSelf
To Reproduce
shows that
ind2
is unknownPlease complete the following information:
pandas-stubs
: 2.2.2.240514The text was updated successfully, but these errors were encountered: