[SciPy-Dev] how to turn internal names into API and freeze them forever

josef.pktd@gmai... josef.pktd@gmai...
Sun Sep 22 06:32:48 CDT 2013


The scipy.stats.distributions allow now keyword access to the shape parameters.

Before, the names of shape parameters where just part of the
signature, but couldn't be used in code, only positional argument
where possible.

Now, users can actually use them in their code.

hypergeom uses `M,n,N` where I usually need to read the description
for several minutes to remember what they are.

most distributions use one letter parameters:

Since I just checked
numpy.random.triangular uses `mode`
scipy.triang just uses `c`

Josef


More information about the SciPy-Dev mailing list