human
Shuffle columns of an array with Numpy
assistant
Here is some code to shuffle columns of an numpy array 'r'

np.random.shuffle(np.transpose(r))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.