snowflake.snowpark.CaseExpr¶
- class snowflake.snowpark.CaseExpr(expr: CaseWhen)[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.6.1/src/snowflake/snowpark/column.py#L768-L822)¶
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