contains#

cudf._lib.pylibcudf.strings.contains.contains_re(Column input, RegexProgram prog) Column#

Returns a boolean column identifying rows which match the given regex_program object.

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

Parameters:
inputColumn

The input strings

progRegexProgram

Regex program instance

Returns:
pylibcudf.Column

New column of boolean results for each string