numpy.std()

numpy.std

numpy.std(a, axis=None, dtype=None, out=None, ddof=0, keepdims=False) [source]

Compute the standard deviation along the specified axis.

Returns the standard deviation, a measure of the spread of a distribution, of the array elements. The standard deviation is computed for the flattened array by default, otherwise over the specified axis.

Parameters:

a : array_like

Calculate the standard deviation of these values.

axis : Non