convert_lists#

pylibcudf.strings.convert.convert_lists.format_list_column(Column input, Scalar na_rep=None, Column separators=None) Column#

Convert a list column of strings into a formatted strings column.

For details, see :cpp:func`cudf::strings::format_list_column`

Parameters:
inputColumn

Lists column to format

na_repScalar

Replacement string for null elements. Default, empty string

separatorsColumn

Strings to use for enclosing list components and separating elements. Default, ,, [, ]

Returns:
Column

New strings column