snowflake.snowpark.Column.astype

Column.astype(to: Union[str, DataType]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/column.py#L508-L512)

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

语言: 中文