Functions#

The following functions are related to DataTypeExpr.

dtype_of(col_or_expr)

Get a lazily evaluated DataType of a column or expression.

self_dtype()

Get the dtype of self in map_elements and map_batches.

DataType.to_dtype_expr()

Return a DataTypeExpr with a static DataType.