Skip to content

IntervalIndex is a subclass of Index #542

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

Merged
merged 3 commits into from
Feb 17, 2023

Conversation

twoertwein
Copy link
Member

pd.DataFrame(some_data, pd.IntervalIndex(...)) did not work as IntervalIndex was not declared as a subclass of Index.

For some reason poe pyright creates 800+ errors for me locally - it doesn't find any of the packages (including pandas/pytest/numpy/...) Using the CI to find the pyright errors for now.

@twoertwein twoertwein marked this pull request as ready for review February 17, 2023 19:25
Copy link
Collaborator

@Dr-Irv Dr-Irv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @twoertwein

@Dr-Irv Dr-Irv merged commit 537e67f into pandas-dev:main Feb 17, 2023
twoertwein added a commit to twoertwein/pandas-stubs that referenced this pull request Apr 1, 2023
* IntervalIndex is a subclass of Index

* include DataFrame test

* use keyword
@twoertwein twoertwein deleted the intervalindex branch August 17, 2023 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants