Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #111224

Re: Quick poll: gmean or geometric_mean

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Jason Friedman <jsf80238@gmail.com>
Newsgroups comp.lang.python
Subject Re: Quick poll: gmean or geometric_mean
Date Sat, 9 Jul 2016 08:16:13 -0600
Lines 14
Message-ID <mailman.151.1468073782.2295.python-list@python.org> (permalink)
References <57808af6$0$1602$c3e8da3$5496439d@news.astraweb.com> <1468043386.1292856.661217857.45C882AD@webmail.messagingengine.com> <57809936.6020303@stoneleaf.us> <nlqjb2$uj8$1@ger.gmane.org> <CANy1k1hTk_zDsjYQw3xWnNiGnHoAM2Ds6Xs278zMOQ2GbQ4cCQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de p505xGX/kF6y/I2zmtg/ngQr7mGi5XiUDAGVmcVikdFw==
Return-Path <jsf80238@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.018
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'anyway.': 0.04; 'context': 0.05; 'cc:addr:python-list': 0.09; 'enough.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'renaming': 0.16; 'memory': 0.17; 'solution.': 0.18; 'all,': 0.20; 'math': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'names.': 0.22; 'header:In-Reply- To:1': 0.24; 'module': 0.25; 'message-id:@mail.gmail.com': 0.27; 'turns': 0.27; 'function': 0.28; 'fine': 0.28; "i'm": 0.30; 'that.': 0.30; 'code': 0.30; 'maybe': 0.33; 'skip:& 20': 0.35; 'received:google.com': 0.35; 'clear': 0.35; 'fresh': 0.35; 'but': 0.36; 'needed': 0.36; 'subject:: ': 0.37; 'names': 0.38; 'does': 0.39; 'easy': 0.60; 'further': 0.62; 'direct': 0.68; 'subject:Quick': 0.84; 'to:none': 0.91; 'subject:skip:g 10': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc; bh=zUSFh0I6gBxejN+c4D/fW8n5RyYvLF47SYoLpPCzXHM=; b=to8eQjwMt3ZpuarUCk8q4R3VPyM96/KEbCgiWv6Ich1nhSTTzWfoYV1eBtliyswig4 47MSAKiXGpFWXlncMHvJVhvuUE+XJS617Gc/nvs4hND2539xT5ZHJI6OpVzZS4GqWwiz k5giJXRypqMjjMvTgEfrSU0yk44mHGajpgKKGhoKAUe4p6K248WDqbOugimGavRueAZR zqAP/9xGomFkdehO7MNlekQqjg/t2w+DRazyYOE52C+9i5BP1l+oJ9aRJkFkDENF+uIT C1RHScJ68rWRgbMu9ZfpppgFPx8adYVANn4AXOm63K73lqm/CI0aGVJr09zpda5DINYz cNsw==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:cc; bh=zUSFh0I6gBxejN+c4D/fW8n5RyYvLF47SYoLpPCzXHM=; b=NINmHyPykc+N3sQ+pjcOtxEBhrLC5g8bGZL3KzitQU9+JqGSvfw3CID0kdvK3iGrt3 33MaECwQ/ahyhDSuY/TCM+yDdsPfB+VXS4zZK3SN5ZRQhPqVFxAaYY8nF9imUnS15WvP FRzXUKbfXgWiK1ajlLI9fHk008XtKPnse6JY/7jJ8Ai/9uatsbUczo+Q+kJJTE0j5w32 re7sm0mkr8wxaFbakpIi1EWhC7yE7zydfjo7nBlAnzfyUtm0c6T2S1RrHIXHvpUt588j vRnwkmYPiNeOBZD5Z8ybGIdiVDOkNiraWhosUw5ome/2QAFDkF2nHI3zAY8JOD3cEbNB ga1A==
X-Gm-Message-State ALyK8tIKQlcm+EHegzjvaSb2eif+PGeF/dUNLEQYQujlwgJa396X6cLKgwz82T9+/SUqcsbHDaAiupZQv01ibw==
X-Received by 10.176.69.183 with SMTP id u52mr5101096uau.123.1468073773611; Sat, 09 Jul 2016 07:16:13 -0700 (PDT)
In-Reply-To <nlqjb2$uj8$1@ger.gmane.org>
X-Content-Filtered-By Mailman/MimeDel 2.1.22
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <CANy1k1hTk_zDsjYQw3xWnNiGnHoAM2Ds6Xs278zMOQ2GbQ4cCQ@mail.gmail.com>
X-Mailman-Original-References <57808af6$0$1602$c3e8da3$5496439d@news.astraweb.com> <1468043386.1292856.661217857.45C882AD@webmail.messagingengine.com> <57809936.6020303@stoneleaf.us> <nlqjb2$uj8$1@ger.gmane.org>
Xref csiph.com comp.lang.python:111224

Show key headers only | View raw


>
> +1 for consistency, but I'm just fine with the short names. It's in the
> statistics module after all, so the context is very narrow and clear and
> people who don't know which to use or what the one does that they find in a
> given piece of code will have to read the docs and maybe fresh up their
> rusty math memory anyway. Longer names don't help much with that.
>
> If further clarity is needed in a given code context that uses a direct
> name import, renaming the function at the same time is easy enough. I often
> do that with "os.path.join", for example, which turns into "join_path" on
> import. Same problem, easy solution.


+1

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Quick poll: gmean or geometric_mean Steven D'Aprano <steve@pearwood.info> - 2016-07-09 15:26 +1000
  Re: Quick poll: gmean or geometric_mean Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-07-09 08:43 +0300
  Re: Quick poll: gmean or geometric_mean Random832 <random832@fastmail.com> - 2016-07-09 01:49 -0400
  Re: Quick poll: gmean or geometric_mean Ethan Furman <ethan@stoneleaf.us> - 2016-07-08 23:27 -0700
  Re: Quick poll: gmean or geometric_mean Peter Otten <__peter__@web.de> - 2016-07-09 11:04 +0200
    Re: Quick poll: gmean or geometric_mean Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-12 15:13 -0700
      Re: Quick poll: gmean or geometric_mean Chris Angelico <rosuav@gmail.com> - 2016-07-13 08:17 +1000
  Re: Quick poll: gmean or geometric_mean Stefan Behnel <stefan_ml@behnel.de> - 2016-07-09 12:23 +0200
  Re: Quick poll: gmean or geometric_mean Ethan Furman <ethan@stoneleaf.us> - 2016-07-09 06:51 -0700
  Re: Quick poll: gmean or geometric_mean Jason Friedman <jsf80238@gmail.com> - 2016-07-09 08:16 -0600
  Re: Quick poll: gmean or geometric_mean Michael Selik <michael.selik@gmail.com> - 2016-07-09 16:13 +0000
  Re: Quick poll: gmean or geometric_mean Robert Kern <robert.kern@gmail.com> - 2016-07-09 17:53 +0100
  Re: Quick poll: gmean or geometric_mean Michael Selik <michael.selik@gmail.com> - 2016-07-09 18:31 +0000
  Re: Quick poll: gmean or geometric_mean Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-07-09 17:39 -0400
  Re: Quick poll: gmean or geometric_mean Chris Angelico <rosuav@gmail.com> - 2016-07-10 07:45 +1000
  Re: Quick poll: gmean or geometric_mean Rustom Mody <rustompmody@gmail.com> - 2016-07-10 00:28 -0700
    Re: Quick poll: gmean or geometric_mean Steven D'Aprano <steve@pearwood.info> - 2016-07-10 18:51 +1000
      Re: Quick poll: gmean or geometric_mean Michael Selik <michael.selik@gmail.com> - 2016-07-10 09:24 +0000
        Re: Quick poll: gmean or geometric_mean Steven D'Aprano <steve@pearwood.info> - 2016-07-10 20:08 +1000
          Re: Quick poll: gmean or geometric_mean Chris Angelico <rosuav@gmail.com> - 2016-07-10 21:07 +1000
          Re: Quick poll: gmean or geometric_mean Rustom Mody <rustompmody@gmail.com> - 2016-07-10 07:29 -0700
            Re: Quick poll: gmean or geometric_mean Rustom Mody <rustompmody@gmail.com> - 2016-07-10 07:44 -0700
            Re: Quick poll: gmean or geometric_mean Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-10 08:55 -0600
              Re: Quick poll: gmean or geometric_mean Marko Rauhamaa <marko@pacujo.net> - 2016-07-10 18:03 +0300
                Re: Quick poll: gmean or geometric_mean Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-10 11:15 -0600
                Re: Quick poll: gmean or geometric_mean Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-12 15:17 -0700
                Re: Quick poll: gmean or geometric_mean alister <alister.ware@ntlworld.com> - 2016-07-12 22:57 +0000
                Re: Quick poll: gmean or geometric_mean Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-12 18:42 -0700
                Re: Quick poll: gmean or geometric_mean Gene Heskett <gheskett@shentel.net> - 2016-07-12 21:58 -0400
                Re: Quick poll: gmean or geometric_mean alister <alister.ware@ntlworld.com> - 2016-07-13 13:03 +0000
                Re: Quick poll: gmean or geometric_mean Steven D'Aprano <steve@pearwood.info> - 2016-07-13 12:25 +1000
                Re: Quick poll: gmean or geometric_mean Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-07-10 19:21 -0400
            Re: Quick poll: gmean or geometric_mean Random832 <random832@fastmail.com> - 2016-07-10 12:08 -0400
            Re: Quick poll: gmean or geometric_mean Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-12 15:19 -0700
          Re: Quick poll: gmean or geometric_mean Michael Selik <michael.selik@gmail.com> - 2016-07-10 15:43 +0000
  Re: Quick poll: gmean or geometric_mean Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-10 01:28 -0600
    Re: Quick poll: gmean or geometric_mean Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-07-10 11:01 +0300
      Re: Quick poll: gmean or geometric_mean Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-10 09:04 -0600

csiph-web