Shuffle columns of an array with Numpy,np.random.shuffle(np.transpose(r))