scipy.stats.mstats.

skew#

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

Computes the skewness of a data set.

Deprecated since version 2.0.0: scipy.stats.mstats.skew is deprecated as of SciPy 2.0.0 and will be removed, along with the scipy.stats.mstats namespace, in SciPy 2.4.0. For similar functionality, use scipy.stats.skew with MArray(s) instead of NumPy masked array(s).

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 scipy.stats.skew.

Array API Standard Support

skew is not in-scope for support of Python Array API Standard compatible backends other than NumPy.

See Support for the array API standard for more information.