extract#

pylibcudf.strings.extract.extract(Column input, RegexProgram prog) Table#

Returns a table of strings columns where each column corresponds to the matching group specified in the given egex_program object.

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

Parameters:
inputColumn

Strings instance for this operation

progRegexProgram

Regex program instance

Returns:
Table

Columns of strings extracted from the input column.

pylibcudf.strings.extract.extract_all_record(Column input, RegexProgram prog) Column#

Returns a lists column of strings where each string column row corresponds to the matching group specified in the given regex_program object.

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

Parameters:
inputColumn

Strings instance for this operation

progRegexProgram

Regex program instance

Returns:
Column

Lists column containing strings extracted from the input column