nushell/docs/commands/dfr_group-by.md

321 B

title layout version
dfr group-by command 0.59.1

Creates a groupby object that can be used for other aggregations

Signature

> dfr group-by ...rest

Parameters

  • ...rest: groupby columns

Examples

Grouping by column a

> [[a b]; [one 1] [one 2]] | dfr to-df | dfr group-by a