ray.data.expressions.Expr.nullable#

Expr.nullable(input_schema: pyarrow.Schema) bool[source]#

Whether the output of this expression may contain nulls.

The default is the conservative True; subclasses that produce a non-nullable output (e.g., is_null, RandomExpr) override.