polars.dtype_of#

polars.dtype_of(col_or_expr: str | Expr) DataTypeExpr[source]#

Get a lazily evaluated DataType of a column or expression.

Warning

This functionality is considered unstable. It may be changed at any point without it being considered a breaking change.