I would like to delete rows which contain the same string in collumn C1
and C3
:
My df
input:
C1 C2 C3
14-130n NE03 14-130n
23-401n NE05 21-130n
43-123n NE04 43-121n
My final
expected output:
C1 C2 C3
23-401n NE05 21-130n
43-123n NE04 43-121n
I had tried final <- df[!(df[,1] = df[,3]),]
, but do not works. Some ideas? Cheers!