Skip to content

API/CLN: simplify CategoricalBlock.replace #33279

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 1 commit into from
Apr 6, 2020

Conversation

jbrockmendel
Copy link
Member

Makes DataFrame.replace on Categorical behave like Series.replace.

@jreback jreback added Categorical Categorical Data Type Internals Related to non-user accessible pandas implementation labels Apr 5, 2020
@jreback jreback added this to the 1.1 milestone Apr 5, 2020
@jbrockmendel
Copy link
Member Author

The follow-up to this lets us get the filter kwarg out of BlockManager.apply

@jreback jreback merged commit fd9ec6c into pandas-dev:master Apr 6, 2020
@jbrockmendel jbrockmendel deleted the ea-replace branch April 6, 2020 21:26
jbrockmendel added a commit to jbrockmendel/pandas that referenced this pull request Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Categorical Categorical Data Type Internals Related to non-user accessible pandas implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HUH?: DataFrame[categorical].replace
2 participants