find#

pylibcudf.strings.findall.find_re(Column input, RegexProgram pattern) Column#

Returns character positions where the pattern first matches the elements in input strings.

For details, see cudf::strings::find_re()

Parameters:
inputColumn

Strings instance for this operation

patternRegexProgram

Regex pattern

Returns:
Column

New column of integers

pylibcudf.strings.findall.findall(Column input, RegexProgram pattern) Column#

Returns a lists column of strings for each matching occurrence using the regex_program pattern within each string.

For details, see cudf::strings::findall().

Parameters:
inputColumn

Strings instance for this operation

patternRegexProgram

Regex pattern

Returns:
Column

New lists column of strings