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

Keith Goodman kwgoodman@gmail....
Mon Nov 22 11:47:23 CST 2010


On Mon, Nov 22, 2010 at 9:28 AM, Nathaniel Smith <njs@pobox.com> wrote:
> On Mon, Nov 22, 2010 at 8:22 AM, Keith Goodman <kwgoodman@gmail.com> wrote:

>>What would axis=None mean for a moving window sum?
>
> Well, the same as mov_sum(arr.ravel()), I suppose. Probably not very
> useful for multidimensional arrays, but I'm not sure there's a better
> default.

I guess the choices for the default axis for moving statistics are 0,
-1, None. I'd throw out None and then pick either 0 or -1.

For group_mean I think axis=0 makes more sense. Wes and Josef prefer
axis=0, I think. I'm fine with that but would like to hear more
opinions.


More information about the SciPy-User mailing list