You are viewing an older version (1.17.1).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 1.17.1 / scipy / stats / _mstats_basic / skew

function

scipy.stats._mstats_basic:skew

source: /scipy/stats/_mstats_basic.py:2818

Signature

def skew(a, axis = 0, bias = True)

Summary

Computes the skewness of a data set.

Parameters

a : ndarray

data

axis : int or None, optional

Axis along which skewness is calculated. Default is 0. If None, compute over the whole array a.

bias : bool, optional

If False, then the calculations are corrected for statistical bias.

Returns

skewness : ndarray

The skewness of values along an axis, returning 0 where all values are equal.

Notes

For more details about skew, see scipy.stats.skew.

Aliases

  • scipy.stats._mstats_basic.skew