extract#
2026-03-11
20 min read time
- pylibhipdf.strings.extract.extract(Column input, RegexProgram prog, Stream stream=None) 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
- streamStream | None
CUDA stream on which to perform the operation.
Returns#
- Table
Columns of strings extracted from the input column.
- pylibhipdf.strings.extract.extract_all_record(Column input, RegexProgram prog, Stream stream=None) 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
- streamStream | None
CUDA stream on which to perform the operation.
Returns#
- Column
Lists column containing strings extracted from the input column
- pylibhipdf.strings.extract.extract_single(Column input, RegexProgram prog, size_type group, Stream stream=None) Column#
Returns a column of strings where each string corresponds to the matching group specified in the given regex_program object.
For details, see
cudf::strings::extract_single().Parameters#
- inputColumn
Strings instance for this operation
- progRegexProgram
Regex program instance
- groupsize_type
Index of the group number to extract
- streamStream | None
CUDA stream on which to perform the operation.
Returns#
- Column
Column of strings extracted from the input column