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
Returns

result (pyarrow.Array or pyarrow.ChunkedArray)