concat

Function concat 

Source
pub fn concat(elements: impl IntoIterator<Item = impl Into<ExprRef>>) -> ExprRef
Expand description

Creates an expression that concatenates multiple expressions into a single array.

All input expressions must evaluate to arrays of the same dtype.

let expr = concat([col("chunk1"), col("chunk2"), lit(Scalar::from(42))]);