W3cubDocs

/Nushell

dfr columns for dataframe

Show dataframe columns.

Signature

> dfr columns {flags}

Input/output types:

input output
any any

Examples

Dataframe columns

> [[ab]; [12] [34]] |dfr into-df|dfr columns
╭───┬───╮
0a
1b
╰───┴───╯

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_columns.html