用法:
Series.kurtosis(axis=None, skipna=None, level=None, numeric_only=None, **kwargs)
返回樣本的 Fisher 無偏峰度。
使用 Fisher 的峰度定義獲得峰度(正常峰度 == 0.0)。由 N-1 歸一化。
- axis: {index (0), columns(1)}:
要應用的函數的軸。
- skipna: bool, default True:
計算結果時排除 NA/null 值。
- 係列或標量
參數:
返回:
注意:
當前不支持的參數是
level
和numeric_only
例子:
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
相關用法
- Python cudf.Series.kurt用法及代碼示例
- Python cudf.Series.keys用法及代碼示例
- Python cudf.Series.ceil用法及代碼示例
- Python cudf.Series.update用法及代碼示例
- Python cudf.Series.max用法及代碼示例
- Python cudf.Series.head用法及代碼示例
- Python cudf.Series.reindex用法及代碼示例
- Python cudf.Series.interleave_columns用法及代碼示例
- Python cudf.Series.min用法及代碼示例
- Python cudf.Series.nlargest用法及代碼示例
- Python cudf.Series.to_frame用法及代碼示例
- Python cudf.Series.mask用法及代碼示例
- Python cudf.Series.notnull用法及代碼示例
- Python cudf.Series.isnull用法及代碼示例
- Python cudf.Series.rmod用法及代碼示例
- Python cudf.Series.map用法及代碼示例
- Python cudf.Series.nsmallest用法及代碼示例
- Python cudf.Series.data用法及代碼示例
- Python cudf.Series.lt用法及代碼示例
- Python cudf.Series.product用法及代碼示例
注:本文由純淨天空篩選整理自rapids.ai大神的英文原創作品 cudf.Series.kurtosis。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。