SciPy

scipy.stats.mstats.skew

scipy.stats.mstats.skew(a, axis=0, bias=True)[source]

Computes the skewness of a data set.

Parameters
andarray

data

axisint or None, optional

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

biasbool, optional

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

Returns
skewnessndarray

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

Notes

For more details about skew, see stats.skew.

Previous topic

scipy.stats.mstats.moment

Next topic

scipy.stats.mstats.tmean