[SciPy-User] Proposal for a new data analysis toolbox

Keith Goodman kwgoodman@gmail....
Mon Nov 22 10:22:50 CST 2010


On Mon, Nov 22, 2010 at 8:14 AM, Nathaniel Smith <njs@pobox.com> wrote:
> On Mon, Nov 22, 2010 at 7:52 AM,  <josef.pktd@gmail.com> wrote:
>> I would like statistics (scipy.stats and statsmodels) to stick with
>> default axis=0.
>> I would be in favor of axis=None for nan extended versions of numpy
>> functions and axis=0 for stats functions as defaults, but since it
>> will be a standalone package with wider usage, I will be able to keep
>> track of axis=-1.
>
> Please let's keep everything using the same default -- it doesn't
> actually make life simpler if for every function I have to squint and
> try to remember whether or not it's a "stats function". (Like, what's
> "mean"?)
>
> I think the world already has a sufficient supply of arbitrarily
> inconsistent scientific APIs.

nanstd, nanmean, etc use axis=None for the default. What would
axis=None mean for a moving window sum?


More information about the SciPy-User mailing list