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