Answers for "how to use statistics.geometric_mean() function in python"

1

geometrical mean python

import numpy as np

def geo_mean(iterable):
    a = np.array(iterable)
    return a.prod()**(1.0/len(a))
Posted by: Guest on December-12-2020

Code answers related to "how to use statistics.geometric_mean() function in python"

Python Answers by Framework

Browse Popular Code Answers by Language