Skip to content

BUG: using .replace() on a Series containing np.nan raising ValueError when using regex=True. #44653

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
Dec 1, 2021

Conversation

DriesSchaumont
Copy link
Member

@DriesSchaumont DriesSchaumont commented Nov 28, 2021

@DriesSchaumont DriesSchaumont requested a review from phofl November 30, 2021 15:12
@jreback jreback added Bug Strings String extension data type and string data labels Dec 1, 2021
@jreback jreback added this to the 1.4 milestone Dec 1, 2021
@jreback jreback merged commit 4e139f6 into pandas-dev:master Dec 1, 2021
@jreback
Copy link
Contributor

jreback commented Dec 1, 2021

nice, thanks @DriesSchaumont

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Strings String extension data type and string data
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: series.replace() fails when string series contains pd.NA
2 participants