I have a dataframe like ,
Test Test1
[1,1,1] [1,2,2]
[1,2,2] [1,0,1]
[1,0,1] [1,1,0]
[2,2,0] [0,2,2]
[1,2,0] [1,0,2]
I am trying to compare the two arrays where 2 numbers should match and third one should be o.So like [1,0,1] [1,1,0]
should be matched and return true as two numbers are matching and third one is 0 . same for [2,2,0] [0,2,2]
but [1,2,0] [1,0,2]
this should not match as it does not have the same numbers.will return false. So,Is there any way to do this ?