W3cubDocs

/Nushell

dfr not for dataframe

Inverts boolean mask.

Signature

> dfr not {flags}

Input/output types:

input output
any any

Examples

Inverts boolean mask

> [truefalsetrue] |dfr into-df|dfr not
╭───┬───────╮
# │   0   │
├───┼───────┤
0false
1true
2false
╰───┴───────╯

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