snowflake.snowpark.CaseExpr¶
- class snowflake.snowpark.CaseExpr(expr: CaseWhen)[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/column.py#L773-L827)¶
Bases:
ColumnRepresents a CASE expression.
To construct this object for a CASE expression, call the
functions.when()specifying a condition and the corresponding result for that condition. Then, callwhen()andotherwise()methods to specify additional conditions and results.Examples:
Methods