how to find geometric mean in python

39

how to find geometric mean in python -

>>> from scipy.stats.mstats import gmean
>>> gmean([1.0, 0.00001, 10000000000.])
46.415888336127786

Comments

Submit
0 Comments