dfr value-counts for dataframe

Returns a dataframe with the counts for unique values in series.

Signature

> dfr value-counts

Input/output types:

inputoutput
anyany

Examples

Calculates value counts

> [5 5 5 5 6 6] | dfr into-df | dfr value-counts
╭───┬───┬────────╮
│ # │ 0 │ counts │
├───┼───┼────────┤
│ 054 │
│ 162 │
╰───┴───┴────────╯

Tips: Dataframe commands were not shipped in the official binaries by default, you have to build it with --features=dataframe flag