W3cubDocs

/Nushell

dfr select for lazyframe

Selects columns from lazyframe.

Signature

> dfr select {flags} ...rest

Parameters

  • ...rest: Expression(s) that define the column selection

Input/output types:

input output
any any

Examples

Select a column from the dataframe

> [[ab]; [62] [42] [22]] |dfr into-df|dfr selecta
╭───┬───╮
# │ a │
├───┼───┤
06
14
22
╰───┴───╯

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