Steven D'Aprano wrote: > As requested in issue 27181 on the bug tracker, I'm adding functions to > calculate the harmonic and geometric means to the statistics module. > > I'd like to get a quick show of hands regarding the names. Which do you > prefer? > > hmean and gmean > > harmonic_mean and geometric_mean
The long names. Life's too short for abbreviations. > Remember that the arithmetic mean is just called "mean". I think it's a safe bet that a user asking for the unqualified mean wants just that. > http://bugs.python.org/issue27181 -- https://mail.python.org/mailman/listinfo/python-list