dfr is-not-null for dataframe

Creates mask where value is not null.

Signature

> dfr is-not-null

Input/output types:

inputoutput
anyany

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 │
├───┼─────────────┤
│ 0true        │
│ 1true        │
│ 2false       │
│ 3true        │
╰───┴─────────────╯

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