nushell/docs/commands/columns.md
Justin Ma c0a1d18e3d
update #4455, regenerate commands' docs and update make_docs script (#4586)
* feat: update #4455, regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00

429 B

title layout version
columns command 0.59.0

Show the columns in the input.

Signature

> columns

Examples

Get the columns from the table

> [[name,age,grade]; [bill,20,a]] | columns

Get the first column from the table

> [[name,age,grade]; [bill,20,a]] | columns | first

Get the second column from the table

> [[name,age,grade]; [bill,20,a]] | columns | select 1