dfr arg-where
for expression> dfr arg-where {flags} (column name)
column name
: Expression to evaluateinput | output |
---|---|
any | any |
Return a dataframe where the value match the expression
>letdf= ([[ab]; [one1] [two2] [three3]] |dfr into-df);
$df|dfr select (dfr arg-where ((dfr colb) >=2) |dfr asb_arg)
╭───┬───────╮
│# │ b_arg │
├───┼───────┤
│0│1│
│1│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_arg-where.html