Python mengocok dua daftar bersama

from sklearn.utils import shuffle
a_shuffled, b_shuffled = shuffle(np.array(a), np.array(b))
Open Orangutan