snowflake.snowpark.CaseExpr¶
- class snowflake.snowpark.CaseExpr(expr: CaseWhen)[source]¶
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