calculate standard deviation python numpy code example
Example 1: numpy standard deviation
import numpy as np
data = [68,86,36,57,24,46,32,53] #define some data
data_std = np.std(data) #outputs 19.00493356999703
Example 2: standard deviation in python numpy
a = [1,2,3,4,5]
numpy.std(a) # will give the standard deviation of a