Pandas Drop Duplicates By Column, So this: A B 1 10 1 20 2 30 2 40 3 10 Should turn into this: A B .