mirror of
https://github.com/nushell/nushell.git
synced 2024-11-29 11:54:02 +01:00
21 lines
425 B
Markdown
21 lines
425 B
Markdown
|
# drop column
|
||
|
Remove the last number of columns. If you want to remove columns by name, try 'reject'.
|
||
|
|
||
|
## Usage
|
||
|
```shell
|
||
|
> drop column (columns) {flags}
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
* `(columns)` starting from the end, the number of columns to remove
|
||
|
|
||
|
## Flags
|
||
|
* -h, --help: Display this help message
|
||
|
|
||
|
## Examples
|
||
|
Remove the last column of a table
|
||
|
```shell
|
||
|
> echo [[lib, extension]; [nu-lib, rs] [nu-core, rb]] | drop column
|
||
|
```
|
||
|
|