| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.compute.replace_substring_regex.html | [Back] [Original] |
Section Navigation
Replace matching non-overlapping substrings with replacement.
For each string in strings, replace non-overlapping substrings that match the given regular expression pattern with the given replacement. If max_replacements is given and not equal to -1, it limits the maximum amount replacements per input, counted from the left. Null values emit null.
Argument to compute function.
strSubstring pattern to look for inside input values.
strWhat to replace the pattern with.
int or None, default NoneThe maximum number of strings to replace in each input value (unlimited if None).
pyarrow.compute.ReplaceSubstringOptions, optionalAlternative way of passing options.
pyarrow.MemoryPool, optionalIf not passed, will allocate memory from the default memory pool.
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |