attributes#
2026-03-11
19 min read time
- pylibhipdf.strings.attributes.code_points(Column source_strings, Stream stream=None) Column#
Creates a numeric column with code point values (integers) for each character of each string.
Parameters#
- source_stringsColumn
Column of strings.
- streamStream | None
CUDA stream on which to perform the operation.
Returns#
- Column
New column with code point integer values for each character
- pylibhipdf.strings.attributes.count_bytes(Column source_strings, Stream stream=None) Column#
Returns a column containing byte lengths of each string in the given column.
Parameters#
- source_stringsColumn
Column of strings.
- streamStream | None
CUDA stream on which to perform the operation.
Returns#
- Column
New column with the number of bytes for each string
- pylibhipdf.strings.attributes.count_characters(Column source_strings, Stream stream=None) Column#
Returns a column containing character lengths of each string in the given column.
Parameters#
- source_stringsColumn
Column of strings.
- streamStream | None
CUDA stream on which to perform the operation.
Returns#
- Column
New column with lengths for each string