polars::prelude

Function as_struct

pub fn as_struct(exprs: Vec<Expr>) -> Expr
Available on crate feature lazy only.
Expand description

Take several expressions and collect them into a StructChunked.

ยงPanics

panics if exprs is empty.