-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
REF: Remove CategoricalIndex.get_value #31765
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
REF: Remove CategoricalIndex.get_value #31765
Conversation
…tegorical-get_value
…tegorical-get_value
…tegorical-get_value
…tegorical-get_value
…tegorical-get_value
…tegorical-get_value
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.
Looks good!
In checking this, I noticed that this PR might fix the following bug (the current get_value
fails in take
with a different error than those catched when being passed a boolean mask):
s = pd.Series(range(5), index=pd.Categorical(['a', 'b', 'c', 'a', 'b']))
s['a']
could you add a test for that?
…tegorical-get_value
Sure. Is there an associated issue? |
thanks |
It is no longer needed following #31724.