Skip to content

BUG: CategoricalIndex.reindex fails when Index passed with labels all in category #38492

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 5 commits into from
Dec 17, 2020
Merged

Conversation

GYHHAHA
Copy link
Contributor

@GYHHAHA GYHHAHA commented Dec 15, 2020

@jreback jreback added Categorical Categorical Data Type Indexing Related to indexing on series/frames, not to indexes themselves labels Dec 16, 2020
@jreback jreback added this to the 1.3 milestone Dec 16, 2020
@GYHHAHA GYHHAHA requested a review from jreback December 16, 2020 05:13
@jreback jreback merged commit 5468223 into pandas-dev:master Dec 17, 2020
@jreback
Copy link
Contributor

jreback commented Dec 17, 2020

thanks @GYHHAHA

@GYHHAHA GYHHAHA deleted the fix-cat branch December 18, 2020 11:23
luckyvs1 pushed a commit to luckyvs1/pandas that referenced this pull request Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Categorical Categorical Data Type Indexing Related to indexing on series/frames, not to indexes themselves
Projects
None yet
Development

Successfully merging this pull request may close these issues.

reindex of empty CategoricalIndex sometimes fails if target is not a CategoricalIndex
2 participants