We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea75dd7 + 80eeb63 commit fdac1a3Copy full SHA for fdac1a3
pandas/core/arrays/_arrow_string_mixins.py
@@ -175,7 +175,7 @@ def _str_replace(
175
or flags
176
or (
177
isinstance(repl, str)
178
- and (r"\g<" in repl or re.search(r"\\\d", repl) is not None)
+ and r"\g<" in repl # Block named group references (\g<name>); numeric groups (\1) are supported by PyArrow
179
)
180
):
181
raise NotImplementedError(
0 commit comments