You are viewing documentation about an older version (1.3.0). View latest version

snowflake.snowpark.functions.kurtosis

snowflake.snowpark.functions.kurtosis(e: ColumnOrName) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.3.0/src/snowflake/snowpark/functions.py#L642-L655)

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
Language: English