Re: [Numpy-discussion] shuffle bug

2006-12-08 Thread Alan G Isaac
> Tom Holroyd wrote: >> there was no comment. On Fri, 08 Dec 2006, Robert Kern apparently wrote: > Yes, there was. > http://projects.scipy.org/pipermail/numpy-discussion/2006-November/024783.html > Also see the previous comment: http://projects.scipy.org/pipermail/numpy-discussion/2006-N

Re: [Numpy-discussion] shuffle bug

2006-12-08 Thread Robert Kern
Tom Holroyd wrote: > This is certainly a bug. It has been mentioned before, but there > was no comment. Yes, there was. http://projects.scipy.org/pipermail/numpy-discussion/2006-November/024783.html -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma t

[Numpy-discussion] shuffle bug

2006-12-08 Thread Tom Holroyd
This is certainly a bug. It has been mentioned before, but there was no comment. shuffle() doesn't handle arrays. >>> from numpy import * >>> from numpy.random import * >>> a = arange(12) >>> a.shape = (6,2) >>> a array([[ 0, 1], [ 2, 3], [ 4, 5], [ 6, 7], [ 8