[Numpy-discussion] Code review for adding axis argument to permutation and shuffle function

Matthew Brett matthew.brett at gmail.com
Fri Sep 13 04:37:35 EDT 2019


Hi,

Thanks - yes - I agree, an axis argument seems like a very sensible idea.

Cheers,

Matthew

On Fri, Sep 13, 2019 at 7:48 AM Juan Nunez-Iglesias <jni at fastmail.com> wrote:
>
> I don’t understand why the proposal would be controversial in any way. It’s very natural to have `axis=` keyword arguments in NumPy, and it’s the lack of them that is surprising. My only additional suggestion would be to allow tuples of axes, but that can come later.
>
> Juan.
>
> > On 13 Sep 2019, at 4:25 pm, mattip <matti.picus at gmail.com> wrote:
> >
> > This proposal to add an axis argument to permutation and shuffle seems to
> > have garnered no reply. Are people OK with it (for the new random.Generator
> > only) ?
> >
> >
> >
> > --
> > Sent from: http://numpy-discussion.10968.n7.nabble.com/
> > _______________________________________________
> > NumPy-Discussion mailing list
> > NumPy-Discussion at python.org
> > https://mail.python.org/mailman/listinfo/numpy-discussion
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at python.org
> https://mail.python.org/mailman/listinfo/numpy-discussion


More information about the NumPy-Discussion mailing list