polars.Series.explode#

Series.explode() Series[source]#

Explode a list or utf8 Series.

This means that every item is expanded to a new row.

Deprecated since version 0.15.16: Series.explode will be removed in favour of Series.arr.explode and Series.str.explode.

Returns:
Exploded Series of same dtype

See also

ListNameSpace.explode

Explode a list column.

StringNameSpace.explode

Explode a string column.