polars.Expr.explode#

Expr.explode() Self[source]#

Explode a list or utf8 Series.

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

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

Returns:
Exploded Series of same dtype

See also

ExprListNameSpace.explode

Explode a list column.

ExprStringNameSpace.explode

Explode a string column.