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

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

Creates a is not null expression from a column

> dfr col a | 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