class Polars::LazyGroupBy

def agg(*aggs, **named_aggs)

Other tags:
    Example: Use keyword arguments to easily name your expression inputs. -
    Example: Or use positional arguments to compute multiple aggregations in the same way. -
    Example: Compute multiple aggregates at once by passing a list of expressions. -
    Example: Compute the sum of a column for each group. -
    Example: Compute the aggregation of the columns for each group. -

Returns:
  • (LazyFrame) -

Parameters:
  • named_aggs (Hash) --
  • aggs (Array) --
def agg(*aggs, **named_aggs)
  rbexprs = Utils.parse_into_list_of_expressions(*aggs, **named_aggs)
  Utils.wrap_ldf(@lgb.agg(rbexprs))
end