wrap

Contents

wrap#

2026-03-11

19 min read time

Applies to Linux

pylibhipdf.strings.wrap.wrap(Column input, size_type width, Stream stream=None) Column#

Wraps strings onto multiple lines shorter than width by replacing appropriate white space with new-line characters (ASCII 0x0A).

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

Parameters#

inputColumn

String column

widthint

Maximum character width of a line within each string

streamStream | None

CUDA stream on which to perform the operation.

Returns#

Column

Column of wrapped strings