Answers for "mean python math"

4

mean of a list python

import numpy as np
np.mean(list)
np.std(list)
Posted by: Guest on January-23-2021
0

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
Posted by: Guest on May-07-2020

Python Answers by Framework

Browse Popular Code Answers by Language