cudf.Series.skew#
- Series.skew(axis=None, skipna=True, level=None, numeric_only=None, **kwargs)#
Return unbiased Fisher-Pearson skew of a sample.
- Parameters
- skipna: bool, default True
Exclude NA/null values when computing the result.
- Returns
- Series
Notes
Parameters currently not supported are axis, level and numeric_only
Examples
Series
>>> import cudf >>> series = cudf.Series([1, 2, 3, 4, 5, 6, 6]) >>> series 0 1 1 2 2 3 3 4 4 5 5 6 6 6 dtype: int64
DataFrame
>>> import cudf >>> df = cudf.DataFrame({'a': [3, 2, 3, 4], 'b': [7, 8, 10, 10]}) >>> df.skew() a 0.00000 b -0.37037 dtype: float64