Afternoon,
I am struggling with what I thought should be an easy problem and would appreciate some assistance.
I have a data set, an example is outlined below, that I want to contain only distinct relationships, so to speak, between two columns (source,duplicate).
So using the above example, I would only want the column pair 1,2 to be included and for 2,1 to be omitted. The same principal shopuld be applied to all other potential pairs.
I hope this makes sense, as you can tell I am not the best in the world at explaining things
I would be gratefult for any guidance you could provide or if you require clarification please do ask.
Many Thanks
I am struggling with what I thought should be an easy problem and would appreciate some assistance.
I have a data set, an example is outlined below, that I want to contain only distinct relationships, so to speak, between two columns (source,duplicate).
Code:
source | duplicate
1 2
1 3
1 4
2 1
2 3
2 4
3 1
3 2
3 4
4 1
4 2
4 3
So using the above example, I would only want the column pair 1,2 to be included and for 2,1 to be omitted. The same principal shopuld be applied to all other potential pairs.
I hope this makes sense, as you can tell I am not the best in the world at explaining things
I would be gratefult for any guidance you could provide or if you require clarification please do ask.
Many Thanks