Answers for "math.avg() python"

0

average python

import numpy as np
values=[1,10,100]
print(np.mean(values))
values=[1,10,100,np.nan]
print(np.nanmean(values))
Posted by: Guest on March-21-2020
0

python avg

my_list = [1,2,3,4]

import numpy as np
print("mean = ", np.mean(my_list))
Posted by: Guest on March-19-2021

Python Answers by Framework

Browse Popular Code Answers by Language