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

Juan Nunez-Iglesias jni at fastmail.com
Fri Sep 13 02:47:08 EDT 2019

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.


> 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

More information about the NumPy-Discussion mailing list