- scipy.stats.mstats.variation(a, axis=0)¶
Computes the coefficient of variation, the ratio of the biased standard deviation to the mean.
a : array_like
axis : int or None, optional
Axis along which to calculate the coefficient of variation. Default is 0. If None, compute over the whole array a.
variation : ndarray
The calculated variation along the requested axis.
For more details about variation, see stats.variation.