Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

numpy get variance of array

import numpy as np

x = [1,2,3,4,5]
variance = np.var(x)
 
PREVIOUS NEXT
Tagged: #numpy #variance #array
ADD COMMENT
Topic
Name
8+4 =