Skip to content

Test: IntervalIndex.astype("category") doesn't preserve exact interval dtype in categories #48226

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 18 commits into from
Aug 29, 2022

Conversation

weikhor
Copy link
Contributor

@weikhor weikhor commented Aug 24, 2022

@weikhor weikhor requested a review from phofl August 24, 2022 17:15
@mroeschke mroeschke added Testing pandas testing functions or related to the test suite Categorical Categorical Data Type labels Aug 24, 2022
@mroeschke mroeschke added this to the 1.6 milestone Aug 29, 2022
@mroeschke mroeschke merged commit 03d8cd2 into pandas-dev:main Aug 29, 2022
@mroeschke
Copy link
Member

Thanks @weikhor

@weikhor weikhor deleted the interval_dtype_38316 branch August 29, 2022 17:10
@mroeschke mroeschke modified the milestones: 1.6, 2.0 Oct 13, 2022
noatamir pushed a commit to noatamir/pandas that referenced this pull request Nov 9, 2022
…l dtype in categories (pandas-dev#48226)

* add test

* add test

* add test

* revert

* revert

* add test

* add test

* add test

* revert

* revert

* add test

* Update test_dtypes.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Categorical Categorical Data Type Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: IntervalIndex.astype("category") doesn't preserve exact interval dtype in categories
3 participants