skewness in python code example
Example: skewness python
from scipy.stats import skew
# list containing numbers only
l = [1.8, 2, 1.2, 1.5, 1.6, 2.1, 2.8]
# switch to numpy array
v = np.array(l)
s = skew(v) # ~ 0.67
from scipy.stats import skew
# list containing numbers only
l = [1.8, 2, 1.2, 1.5, 1.6, 2.1, 2.8]
# switch to numpy array
v = np.array(l)
s = skew(v) # ~ 0.67