polars.internals.series.string.StringNameSpace.split#

StringNameSpace.split(by: str, inclusive: bool = False) Series[source]#

Split the string by a substring.

Parameters:
by

Substring to split by.

inclusive

If True, include the split character/string in the results.

Returns:
List of Utf8 type