null

null = <class 'dataframe_api.null'>

A null object to represent missing data.

Not meant to be instantiated, use null directly.

null is a scalar, and may be used when constructing a Column from a Python sequence with column_from_sequence(). It does not support is, == or bool.

Raises:

TypeError – From __eq__ and from __bool__. For __eq__: a missing value must not be compared for equality directly. Instead, use DataFrame.is_null or Column.is_null to check for presence of missing values. For __bool__: truthiness of a missing value is ambiguous.

Notes

Like for Python scalars, the null object may be duck typed so it can reside on (e.g.) a GPU. Hence, the builtin is keyword should not be used to check if an object is the null object.