Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Peter Otten <__peter__@web.de> Newsgroups: comp.lang.python Subject: Re: Quick poll: gmean or geometric_mean Date: Sat, 09 Jul 2016 11:04:21 +0200 Organization: None Lines: 22 Message-ID: References: <57808af6$0$1602$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: news.uni-berlin.de nPtak8kONI73zO18NJkM0wtE5gi0bUy8mG3aROR1U5PA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'tracker,': 0.09; 'bug': 0.10; 'prefer?': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'received:t-ipconnect.de': 0.16; 'wrote:': 0.16; 'names.': 0.22; 'url:bugs': 0.24; 'header:User-Agent:1': 0.26; 'header:X -Complaints-To:1': 0.26; 'module.': 0.27; 'arithmetic': 0.29; "i'm": 0.30; 'that.': 0.30; "i'd": 0.31; 'url:python': 0.33; "d'aprano": 0.33; 'steven': 0.33; 'asking': 0.35; 'too': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'mean': 0.38; 'means': 0.39; 'to:addr:python.org': 0.40; 'received:de': 0.40; 'called': 0.40; 'show': 0.62; 'safe': 0.63; "life's": 0.84; 'subject:Quick': 0.84; 'subject:skip:g 10': 0.91; 'hands': 0.96 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: p57bd98bd.dip0.t-ipconnect.de User-Agent: KNode/4.13.3 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <57808af6$0$1602$c3e8da3$5496439d@news.astraweb.com> Xref: csiph.com comp.lang.python:111220 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