snowflake.snowpark.functions.mode¶
- snowflake.snowpark.functions.mode(e: Union[Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.47.0/src/snowflake/snowpark/functions.py#L1164-L1177)¶
Returns the most frequent value for the records in a group. NULL values are ignored. If all the values are NULL, or there are 0 rows, then the function returns NULL.
Example: