-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
BUG: replace with regex raising for StringDType #41343
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
BUG: replace with regex raising for StringDType #41343
Conversation
simonjayhawkins
left a comment
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.
Thanks @mzeitlin11 generally lgtm for the fix in hand, although we should probably be dispatching to the _str_replace method on the EA.
Co-authored-by: Simon Hawkins <[email protected]>
Agreed, but I think that decision could be handled independently of fixing this. There's some additional complexity because I think |
sure. |
simonjayhawkins
left a comment
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.
lgtm pending green
|
thanks @mzeitlin11 very nice! |
2 separate issues at play here - regex was ignored in #41333 (specific to the
replace_listpath) but then ifreplace_regexwas hit with anything but an object type that would just raise.