snowflake.snowpark.functions.div0¶
- snowflake.snowpark.functions.div0(dividend: Union[Column, str, int, float], divisor: Union[Column, str, int, float]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.30.0/snowpark-python/src/snowflake/snowpark/functions.py#L2170-L2198)¶
Performs division like the division operator (/), but returns 0 when the divisor is 0 (rather than reporting an error).
Example: