snowflake.snowpark.CaseExpr.when¶
- CaseExpr.when(condition: Union[Column, str], value: Union[Column, None, bool, int, float, str, bytearray, Decimal, date, datetime, time, bytes, NaTType, float64, list, tuple, dict]) CaseExpr [source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/column.py#L798-L817)¶
Appends one more WHEN condition to the CASE expression.