polars.Expr.flatten

Expr.flatten() polars.internals.expr.Expr

Alias for explode.

Explode a list or utf8 Series. This means that every item is expanded to a new row.

Returns
Exploded Series of same dtype