tabsdata.tableframe.expr.expr.Expr.is_not_null#
- Expr.is_not_null() Expr [source]#
If an element value is not null (None).
Example:
>>> import tabsdata as td >>> >>> tf: td.TableFrame ... >>> >>> tf = tf.select(td.col("temp"), td.col("temp").is_not_null() >>> .alias("null")) >>> ┌──────┬──────────┐ │ temp ┆ not_nulL │ │ --- ┆ --- │ │ f64 ┆ bool │ ╞══════╪══════════╡ │ 1.1 ┆ true │ │ Nan ┆ true │ │ None ┆ false │ │ inf ┆ true │ └──────┴──────────┘