Is there better ways to randomly shuffle two related lists without breaking their correspondence in the other list? I\'ve found related questions in numpy.array
numpy.array
If you are willing to install a few more packages:
Req: NumPy (>= 1.6.1), SciPy (>= 0.9).
pip install -U scikit-learn
from sklearn.utils import shuffle list_1, list_2 = shuffle(list_1, list_2)