Skip to content

TYP: Typing improvements for Index #59100

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

Closed
wants to merge 3 commits into from
Closed

TYP: Typing improvements for Index #59100

wants to merge 3 commits into from

Conversation

aramcpp
Copy link

@aramcpp aramcpp commented Jun 25, 2024

Adds type hints to following:

  • 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

@aramcpp
Copy link
Author

aramcpp commented Jun 25, 2024

cc @phofl

@mroeschke mroeschke added the Typing type annotations, mypy/pyright type checking label Jun 25, 2024
@aramcpp aramcpp closed this Jun 26, 2024
@aramcpp aramcpp deleted the issue_typing_improvements_for_index branch June 26, 2024 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Typing type annotations, mypy/pyright type checking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants