polars.internals.series.StringNameSpace.concat

StringNameSpace.concat(delimiter: str = '-') polars.internals.series.Series

Vertically concat the values in the Series to a single string value.

Returns
Series of dtype Utf8

Examples

>>> pl.Series([1, None, 2]).str.concat("-")[0]
'1-null-2'