wrap#

pylibcudf.strings.wrap.wrap(Column input, size_type width) 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

Returns:
Column

Column of wrapped strings