Numpy Calculer l'écart-type
import numpy
numbers = [1,5,6,7,9,11,13]
standard = numpy.std(numbers) #Calculates standard deviation
print(standard)
Determined Dragonfly
import numpy
numbers = [1,5,6,7,9,11,13]
standard = numpy.std(numbers) #Calculates standard deviation
print(standard)
import numpy as np
values=[1,10,100]
print(np.std(values))
values=[1,10,100,np.nan]
print(np.nanstd(values))