def _shuffle(self, arrays):
        r = np.random.permutation(len(arrays[0]))
        return [ary[r] for ary in arrays]
Shuffle arrays in unison.
dataset/ETHPy150Open rasbt/mlxtend/mlxtend/classifier/base.py/_BaseClassifier._shuffle