-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
TYP: Typing improvements for Index #59105
TYP: Typing improvements for Index #59105
Conversation
Note: I've discussed this error with @phofl at pydata meetup. He told me that this error could likely be ignored, probably some pyright issue |
Seems like pyright meant numpy.integer by "integer". Now everything is passed @phofl |
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.
If you want, you can also add some of these changes to pandas-stubs.
Yes, a PR in |
Thank you @AndreyKolomiets ! |
Add axis to Index.repeat
Add sort to Index.union
Add sort to Index.difference
Add sort and result_name to Index.symmetric_difference
Add level to Index.isin
Add start, end, step to Index.slice_locs
Add loc to Index.delete
Add axis to Index.argmin
Add axis to Index.argmax
Add axis to Index.min
Add axis to Index.max
Add dtype to Index.astype