snowflake.snowpark.functions.median¶
- snowflake.snowpark.functions.median(e: Union[Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.6.1/src/snowflake/snowpark/functions.py#L793-L805)¶
Returns the median value for the records in a group. NULL values are ignored unless all the records are NULL, in which case a NULL value is returned.
Example: