You are viewing documentation about an older version (1.2.0). View latest version

snowflake.snowpark.Column.astype

Column.astype(to: str | DataType) Column[source]

Casts the value of the Column to the specified data type. It raises an error when the conversion can not be performed.