pandas.Index.kurt#

Index.kurt(*, axis=None, skipna=True)[source]#

Return the unbiased kurtosis of the values in the Index.

Kurtosis obtained using Fisher’s definition of kurtosis (kurtosis of normal == 0.0). Normalized by N-1.

Parameters:
axis{None, 0}

Unused. Parameter needed for compatibility with numpy.

skipnabool, default True

Exclude NA/null values when computing the result.

Returns:
scalar

The kurtosis of the values.

See also

Index.skew

Return the skew of the values.

Series.kurt

Return the kurtosis of the values of a Series.

Examples

>>> pd.Index([1, 2, 2, 3]).kurt()
1.5