Quick poll: gmean or geometric_mean

Steven D'Aprano steve at pearwood.info
Sat Jul 9 01:26:12 EDT 2016


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


Remember that the arithmetic mean is just called "mean".

http://bugs.python.org/issue27181




-- 
Steven
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.




More information about the Python-list mailing list