split#

2026-03-11

22 min read time

Applies to Linux

pylibhipdf.strings.split.split.rsplit(Column strings_column, Scalar delimiter, size_type maxsplit, Stream stream=None) Table#

Returns a list of columns by splitting each string using the specified delimiter starting from the end of each string.

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

Parameters#

strings_columnColumn

Strings instance for this operation

delimiterScalar

UTF-8 encoded string indicating the split points in each string.

maxsplitint

Maximum number of splits to perform. -1 indicates all possible splits on each string.

streamStream | None

CUDA stream on which to perform the operation.

Returns#

Table

New table of strings columns.

pylibhipdf.strings.split.split.rsplit_re(Column input, RegexProgram prog, size_type maxsplit, Stream stream=None) Table#

Splits strings elements into a table of strings columns using a regex_program’s pattern to delimit each string starting from the end of the string.

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

Parameters#

inputColumn

A column of string elements to be split.

progRegexProgram

Regex program instance.

maxsplitint

Maximum number of splits to perform. -1 indicates all possible splits on each string.

Returns#

Table

A table of columns of strings.

pylibhipdf.strings.split.split.rsplit_record(Column strings, Scalar delimiter, size_type maxsplit, Stream stream=None) Column#

Splits individual strings elements into a list of strings starting from the end of each string.

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

Parameters#

stringsColumn

A column of string elements to be split.

delimiterScalar

The string to identify split points in each string.

maxsplitint

Maximum number of splits to perform. -1 indicates all possible splits on each string.

Returns#

Column

Lists column of strings.

pylibhipdf.strings.split.split.rsplit_record_re(Column input, RegexProgram prog, size_type maxsplit, Stream stream=None) Column#

Splits strings elements into a list column of strings using the given regex_program to delimit each string starting from the end of the string.

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

Parameters#

inputColumn

A column of string elements to be split.

progRegexProgram

Regex program instance.

maxsplitint

Maximum number of splits to perform. -1 indicates all possible splits on each string.

Returns#

Column

Lists column of strings.

pylibhipdf.strings.split.split.split(Column strings_column, Scalar delimiter, size_type maxsplit, Stream stream=None) Table#

Returns a list of columns by splitting each string using the specified delimiter.

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

Parameters#

strings_columnColumn

Strings instance for this operation

delimiterScalar

UTF-8 encoded string indicating the split points in each string.

maxsplitint

Maximum number of splits to perform. -1 indicates all possible splits on each string.

streamStream | None

CUDA stream on which to perform the operation.

Returns#

Table

New table of strings columns

pylibhipdf.strings.split.split.split_re(Column input, RegexProgram prog, size_type maxsplit, Stream stream=None) Table#

Splits strings elements into a table of strings columns using a regex_program’s pattern to delimit each string.

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

Parameters#

inputColumn

A column of string elements to be split.

progRegexProgram

Regex program instance.

maxsplitint

Maximum number of splits to perform. -1 indicates all possible splits on each string.

Returns#

Table

A table of columns of strings.

pylibhipdf.strings.split.split.split_record(Column strings, Scalar delimiter, size_type maxsplit, Stream stream=None) Column#

Splits individual strings elements into a list of strings.

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

Parameters#

stringsColumn

A column of string elements to be split.

delimiterScalar

The string to identify split points in each string.

maxsplitint

Maximum number of splits to perform. -1 indicates all possible splits on each string.

Returns#

Column

Lists column of strings.

pylibhipdf.strings.split.split.split_record_re(Column input, RegexProgram prog, size_type maxsplit, Stream stream=None) Column#

Splits strings elements into a list column of strings using the given regex_program to delimit each string.

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

Parameters#

inputColumn

A column of string elements to be split.

progRegexProgram

Regex program instance.

maxsplitint

Maximum number of splits to perform. -1 indicates all possible splits on each string.

Returns#

Column

Lists column of strings.