I have a df with two columns containing strings with false negative and false positive calls. I'd like to compare the two columns and identify the ones that are both "FN" and "FP" and make a third column with a "tag" indicating whether the columns meet the specs of the query.
For example here's a piece of the df
x1           x2
1/2:FN:am    .:.:.
1|1:FN:am    0/1:FP:am
.:.:.        1|0:559.511:FP
I'd like the resulting output to be
x1           x2               x3
1/2:FN:am    .:.:.            False
1|1:FN:am    0/1:FP:am        True
.:.:.        1|0:559.511:FP   False 
Thanks!
 
     
    