This is documentation for an old release of NumPy (version 1.5.). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.random.mtrand.RandomState.shuffle

RandomState.shuffle(x)

Modify a sequence in-place by shuffling its contents.

This Page