Skip to content

TST: Add test for replace categorical no replacement changes dtype #48168

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 2 commits into from
Aug 22, 2022

Conversation

phofl
Copy link
Member

@phofl phofl commented Aug 19, 2022

This works already on 1.4.3, so no need to backport anything

@phofl phofl added the replace replace method label Aug 19, 2022
@mroeschke mroeschke added this to the 1.5 milestone Aug 22, 2022
@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label Aug 22, 2022
@mroeschke mroeschke merged commit af14631 into pandas-dev:main Aug 22, 2022
@mroeschke
Copy link
Member

Thanks @phofl

@phofl phofl deleted the 46672 branch August 22, 2022 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
replace replace method Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: dtype not being preserved for replace on a CategoricalDtype
2 participants