pyarrow.compute.count_substring_regex¶
-
pyarrow.compute.
count_substring_regex
(array, pattern, *, ignore_case=False)[source]¶ Count the non-overlapping matches of regex pattern in each value of a string array.
- Parameters
array (pyarrow.Array or pyarrow.ChunkedArray) –
pattern (str) – pattern to search for exact matches
- Returns
result (pyarrow.Array or pyarrow.ChunkedArray)