Answers for "mean value of a variable in python"

0

mean 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

Code answers related to "mean value of a variable in python"

Python Answers by Framework

Browse Popular Code Answers by Language