Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

geometrical mean python

import numpy as np

def geo_mean(iterable):
    a = np.array(iterable)
    return a.prod()**(1.0/len(a))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #geometrical #python
ADD COMMENT
Topic
Name
8+7 =