pub fn select(field_names: impl Into<FieldNames>, child: ExprRef) -> ExprRef
Expand description
Creates an expression that selects (includes) specific fields from an array.
Projects only the specified fields from the child expression, which must be of DType struct.
let expr = select(["name", "age"], root());