How to calculate mean using Numpy ?

There is a method mean() in Numpy, through which mean can be calculated.

Example :- 

>>> import numpy
>>> ss = [19,23,56,23,111,69,233,87,94,78,77,85,86, 56]
>>> mean = numpy.mean(ss)
>>> print(mean)
78.35714285714286
>>> 

 

Total Views: 428