Hi Warren

On 2014-10-12 00:51:56, Warren Weckesser <warren.weckes...@gmail.com> wrote:
> A small wart in this API is the meaning of
>
>   shuffle(a, independent=False, axis=None)
>
> It could be argued that the correct behavior is to leave the
> array unchanged.

I like the suggested changes.  Since "independent" loses its meaning
when axis is None, I would expect this to have the same effect as
`shuffle(a, independent=True, axis=None)`.  I think a shuffle function
that doesn't shuffle will confuse a lot of people!

Stéfan
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to