dfr query
for dataframe> dfr query {flags} (sql)
sql
: sql queryinput | output |
---|---|
any | any |
Query dataframe using SQL
> [[ab]; [12] [34]] |dfr into-df|dfr query'select a from df'
╭───┬───╮
│# │ a │
├───┼───┤
│0│1│
│1│3│
╰───┴───╯
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_query.html