I installed numpy1.8.2 and then I tried the following code:
numpy1.8.2
import numpy as np a = np.arange(10) print a, np.random.shuffle(a)
but
If you want to 'shuffle' out of place then use np.random.permutation.
e.g.
In [1]: import numpy as np In [2]: np.random.permutation([1,2,3,4,5]) Out[2]: array([3, 5, 1, 4, 2])