dfr median
for lazyframe> dfr median {flags}
input | output |
---|---|
any | any |
Median value from columns in a dataframe
> [[ab]; [62] [42] [22]] |dfr into-df|dfr median
╭───┬──────┬──────╮
│# │ a │ b │
├───┼──────┼──────┤
│0│4.00│2.00│
╰───┴──────┴──────╯
Tips: Dataframe commands were not shipped in the official binaries by default, you have to build it with --features=dataframe
flag
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/dfr_median.html