I have a data frame such this:
Country1 Country2 year
A B 1993
A B 1994
A C 1993
A C 1994
B A 1993
B A 1994
B C 1993
B C 1994
I need to get rid off all the rows with duplications in both column one and two together.
I wrote my own function, but it works too slow on a large dataset. Is there a more effective way?