pyarrow.compute.find_substring_regex¶
-
pyarrow.compute.
find_substring_regex
(array, pattern, *, ignore_case=False)[source]¶ Find the index of the first match of regex pattern in each value of a string array.
- Parameters
array (pyarrow.Array or pyarrow.ChunkedArray) –
pattern (str) – regex pattern to search for
ignore_case (bool, default False) – Ignore case while searching.
- Returns
result (pyarrow.Array or pyarrow.ChunkedArray)