pyarrow.compute.kurtosis#

pyarrow.compute.kurtosis(array, /, *, skip_nulls=True, biased=True, min_count=0, options=None, memory_pool=None)#

Calculate the kurtosis of a numeric array.

Nulls are ignored by default. If there are not enough non-null values in the array to satisfy min_count, null is returned. The behavior of nulls and the min_count parameter can be changed in SkewOptions.

Parameters:
arrayArray-like

Argument to compute function.

skip_nullsbool, default True

Whether to skip (ignore) nulls in the input. If False, any null in the input forces the output to null.

biasedbool, default True

Whether the calculated value is biased. If False, the value computed includes a correction factor to reduce bias.

min_countint, default 0

Minimum number of non-null values in the input. If the number of non-null values is below min_count, the output is null.

optionspyarrow.compute.SkewOptions, optional

Alternative way of passing options.

memory_poolpyarrow.MemoryPool, optional

If not passed, will allocate memory from the default memory pool.