This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients cool-RR, mark.dickinson, rhettinger, steven.daprano
Date 2016-06-09.09:24:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
On the other hand, apparently `exp(mean(log(...)))` is good enough for SciPy: its current implementation looks like this:

def gmean(a, axis=0):
    a, axis = _chk_asarray(a, axis)
    log_a = ma.log(a)
    return ma.exp(log_a.mean(axis=axis))
Date User Action Args
2016-06-09 09:24:04mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, steven.daprano, cool-RR
2016-06-09 09:24:04mark.dickinsonsetmessageid: <>
2016-06-09 09:24:04mark.dickinsonlinkissue27181 messages
2016-06-09 09:24:04mark.dickinsoncreate