mirror of
https://github.com/nushell/nushell
synced 2024-12-27 21:43:09 +00:00
414 B
414 B
title | layout | version |
---|---|---|
dfr sort | command | 0.59.1 |
Creates new sorted dataframe or series
Signature
> dfr sort ...rest --reverse
Parameters
...rest
: column names to sort dataframe--reverse
: invert sort
Examples
Create new sorted dataframe
> [[a b]; [3 4] [1 2]] | dfr to-df | dfr sort a
Create new sorted series
> [3 4 1 2] | dfr to-df | dfr sort