cudf.DataFrame.kurtosis#
- DataFrame.kurtosis(axis=None, skipna=True, level=None, numeric_only=None, **kwargs)#
Return Fisher’s unbiased kurtosis of a sample.
Kurtosis obtained using Fisher’s definition of kurtosis (kurtosis of normal == 0.0). Normalized by N-1.
- Parameters
- axis: {index (0), columns(1)}
Axis for the function to be applied on.
- skipna: bool, default True
Exclude NA/null values when computing the result.
- Returns
- Series or scalar
Notes
Parameters currently not supported are level and numeric_only
Examples
Series
>>> import cudf >>> series = cudf.Series([1, 2, 3, 4]) >>> series.kurtosis() -1.1999999999999904
DataFrame
>>> import cudf >>> df = cudf.DataFrame({'a': [1, 2, 3, 4], 'b': [7, 8, 9, 10]}) >>> df.kurt() a -1.2 b -1.2 dtype: float64