Hi,
I have a dataframe like this I want to keep unique values in second column and get rid of any repeating values. Problem is the first column has different names (below) The problem below is that both Fox and cat has sample ID Fam101. I just keep one of them any one of them.
Animals SampleID
Cat Fam101
Fox Fam100
Cat Fam30
Fox Fam101
Fox Fam60
Wolf Fam30
Both results below are acceptible
Animals SampleID
Fox Fam100
Cat Fam30
Fox Fam101
Fox Fam60
Wolf Fam30
Animals SampleID
Cat Fam101
Fox Fam100
Cat Fam30
Fox Fam60
Wolf Fam30
Thanka, yes I expected to drop fam30 too. That worked ....