Numpy Get Variance of Array
import numpy as np
x = [1,2,3,4,5]
variance = np.var(x)
Nutty Narwhal
import numpy as np
x = [1,2,3,4,5]
variance = np.var(x)