W3cubDocs

/Nushell

dfr is-not-null for dataframe

Creates mask where value is not null.

Signature

> dfr is-not-null {flags}

Input/output types:

input output
any any

Examples

Create mask where values are not null

>lets= ([5608] |dfr into-df);
letres= ($s/$s);
$res|dfr is-not-null
╭───┬─────────────╮
# │ is_not_null │
├───┼─────────────┤
0true
1true
2false
3true
╰───┴─────────────╯

Creates a is not null expression from a column

>dfr cola|dfr is-not-null

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_is-not-null.html