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