polars.Series.str.split#

Series.str.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:
Series

Series of data type List(Utf8).