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

snowflake.snowpark.functions.kurtosis

snowflake.snowpark.functions.kurtosis(e: ColumnOrName) Column[source]

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