dfr filter
for lazyframe> dfr filter {flags} (filter expression)
filter expression
: Expression that define the column selectioninput | output |
---|---|
any | any |
Filter dataframe using an expression
> [[ab]; [62] [42] [22]] |dfr into-df|dfr filter ((dfr cola) >=4)
╭───┬───┬───╮
│# │ a │ b │
├───┼───┼───┤
│0│6│2│
│1│4│2│
╰───┴───┴───╯
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_filter.html