3 ms·
There's a random shuffle function. Instead of writing one out using an algorithms textbook. Lots of data types get randomly shuffled during coding. Shuffles
by mrcactu5 6y ago
There's a random shuffle function. Instead of writing one out using an algorithms textbook. Lots of data types get randomly shuffled during coding.
Shuffles arrays and lists.
https://numpy.org/doc/stable/reference/random/generated/numpy.random.shuffle.html https://numpy.org/doc/stable/reference/random/generated/nump...