gmean

mpsci.stats.gmean(x, weights=None)

Geometric mean of the values in the sequence x.

All the values in x must be nonnegative.

If weights is not None, it must be a sequence with the same length as x. The sum of weights must not be zero.