xxxxxxxxxx
#When trying to find standard deviation using the statistics package
#in Python, you could encounter this error:
#AssertionError: negative sum of square deviations
#Try using numpy's std() method. Like:
import numpy as np
data = np.array([500,300,900,600,700])
print(np.std(data))
#instead of
# statistics.stdev(data)