snowflake.snowpark.functions.zeroifnull¶
- snowflake.snowpark.functions.zeroifnull(expr: Union[snowflake.snowpark.column.Column, str]) Column[source]¶
Returns zero if the input expression is None; otherwise, returns the input expression.
- Parameters:
expr (ColumnOrName) – The input expression to evaluate for None values.
- Returns:
Zero if the input expression is None, otherwise the original value.
- Return type:
- Examples::