attributes#

pylibcudf.strings.attributes.code_points(Column source_strings) Column#

Creates a numeric column with code point values (integers) for each character of each string.

Parameters:
source_stringsColumn

Column of strings.

Returns:
Column

New column with code point integer values for each character

pylibcudf.strings.attributes.count_bytes(Column source_strings) Column#

Returns a column containing byte lengths of each string in the given column.

Parameters:
source_stringsColumn

Column of strings.

Returns:
Column

New column with the number of bytes for each string

pylibcudf.strings.attributes.count_characters(Column source_strings) Column#

Returns a column containing character lengths of each string in the given column.

Parameters:
source_stringsColumn

Column of strings.

Returns:
Column

New column with lengths for each string