As a challenge, I\'ve given myself this problem:
Given 2 lists, A, and B, where B is a shuffled version of A, the idea is to figure out the shuffled indices.
LOL
pd.Series(A).reset_index().set_index(0).ix[B].T.values[0] #array([2, 3, 0, 1])