polars_expr::reduce

Function into_reduction

Source
pub fn into_reduction(
    node: Node,
    expr_arena: &mut Arena<AExpr>,
    schema: &Schema,
) -> PolarsResult<(Box<dyn GroupedReduction>, Node)>
Expand description

Converts a node into a reduction + its associated selector expression.