dfr summary
for dataframe
For a dataframe, produces descriptive statistics (summary statistics) for its numeric columns.
Signature
> dfr summary {flags}
Flags
--quantiles, -q {table}
: provide optional quantiles
Input/output types:
input | output |
---|---|
any | any |
Examples
list dataframe descriptives
> [[a b]; [1 1] [1 1]] | dfr into-df | dfr summary
╭───┬────────────┬─────────┬─────────╮
│ # │ descriptor │ a (i64) │ b (i64) │
├───┼────────────┼─────────┼─────────┤
│ 0 │ count │ 2.00 │ 2.00 │
│ 1 │ sum │ 2.00 │ 2.00 │
│ 2 │ mean │ 1.00 │ 1.00 │
│ 3 │ median │ 1.00 │ 1.00 │
│ 4 │ std │ 0.00 │ 0.00 │
│ 5 │ min │ 1.00 │ 1.00 │
│ 6 │ 25% │ 1.00 │ 1.00 │
│ 7 │ 50% │ 1.00 │ 1.00 │
│ 8 │ 75% │ 1.00 │ 1.00 │
│ 9 │ max │ 1.00 │ 1.00 │
╰───┴────────────┴─────────┴─────────╯
Tips: Dataframe commands were not shipped in the official binaries by default, you have to build it with --features=dataframe
flag