Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to calculate mean in python

import statistics

a = [1,2,3,4,5]

mean = statistics.mean(a) 
#Similar for other values such as variance, standard deviation
 
PREVIOUS NEXT
Tagged: #calculate #python
ADD COMMENT
Topic
Name
3+3 =