snowflake.snowpark.functions.kurtosis

snowflake.snowpark.functions.kurtosis(e: Union[Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/functions.py#L821-L834)

Returns the population excess kurtosis of non-NULL records. If all records inside a group are NULL, the function returns NULL.

Example:

>>> from snowflake.snowpark.functions import kurtosis
>>> df = session.create_dataframe([1, 3, 10, 1, 3], schema=["x"])
>>> df.select(kurtosis("x").as_("x")).collect()
[Row(X=Decimal('3.613736609956'))]
Copy
语言: 中文