There is a data frame need to fix the consistency of the two columns. I used this code to get the uniques values of three columns (pop1_number, pop2_number, pop3_number):