bigframes.pandas.DataFrame.skew#

DataFrame.skew(*, numeric_only: bool = False)[source]#

Return unbiased skew over columns.

Normalized by N-1.

Examples:

>>> df = bpd.DataFrame({'A': [1, 2, 3, 4, 5],
...                    'B': [5, 4, 3, 2, 1],
...                    'C': [2, 2, 3, 2, 2]})
>>> df
    A       B       C
0   1       5       2
1   2       4       2
2   3       3       3
3   4       2       2
4   5       1       2

[5 rows x 3 columns]

Calculating the skewness of each column.

>>> df.skew()
A         0.0
B         0.0
C    2.236068
dtype: Float64
Parameters:

numeric_only (bool, default False) – Include only float, int, boolean columns.

Returns:

Series.

Return type:

bigframes.pandas.Series