mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 19:45:06 +02:00
Auto-generate markdown command docs (#4451)
* Finish updating * a couple improvements * Update renames * cleanup examples
This commit is contained in:
29
docs/commands/dfr_sort.md
Normal file
29
docs/commands/dfr_sort.md
Normal file
@ -0,0 +1,29 @@
|
||||
---
|
||||
title: dfr sort
|
||||
layout: command
|
||||
version: 0.59.0
|
||||
---
|
||||
|
||||
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
|
||||
```shell
|
||||
> [[a b]; [3 4] [1 2]] | dfr to-df | dfr sort a
|
||||
```
|
||||
|
||||
Create new sorted series
|
||||
```shell
|
||||
> [3 4 1 2] | dfr to-df | dfr sort
|
||||
```
|
||||
|
Reference in New Issue
Block a user