[Numpy-tickets] [NumPy] #374: random.shuffle breaks for certain shapes
NumPy
numpy-tickets at scipy.net
Sun Nov 5 17:53:39 CST 2006
#374: random.shuffle breaks for certain shapes
--------------------------+-------------------------------------------------
Reporter: stefan | Owner: rkern
Type: defect | Status: new
Priority: normal | Milestone:
Component: numpy.random | Version: devel
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
As reported on the mailing list by Yves Frederix:
{{{
In [1]: import numpy as N
In [2]: a = N.arange(5).reshape((5,1))
In [3]: a
Out[3]:
array([[0],
[1],
[2],
[3],
[4]])
In [4]: N.random.shuffle(a)
In [5]: a
Out[5]:
array([[0],
[1],
[1],
[3],
[3]])
}}}
--
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/374>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list