dfr is-not-null for dataframe

Creates mask where value is not null.

WARNING

Dataframe commands were not shipped in the official binaries by default, you have to build it with --features=dataframe flag

Signature

> dfr is-not-null {flags}

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

Creates a is not null expression from a column

> dfr col a | dfr is-not-null