I have a dataset that looks like this
firm1 firm2
A B
A D
A G
B A
D A
G A
As you can see, it gives out unique information, but the combinations are still the same.
I would like to filter out the unique combinations, so my dataset looks like this.
firm1 firm2
A B
A D
A G
How can I filter out these repeated (but reversed) combinations?