W3cubDocs

/Nushell

dfr get for dataframe

Creates dataframe with the selected columns.

Signature

> dfr get {flags} ...rest

Parameters

  • ...rest: column names to sort dataframe

Input/output types:

input output
any any

Examples

Returns the selected column

> [[ab]; [12] [34]] |dfr into-df|dfr geta
╭───┬───╮
# │ a │
├───┼───┤
01
13
╰───┴───╯

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