I have the following data frame.
'a1' 'f1' 'a0'
0 [5261, 5247, 5246] [526, 557, 5246] [1, 32, 5261]
1 [521, 5547, 5246] 'NaN' [61, 5247, 246]
[5261, 5247, 5246] join with [526, 557, 5246] and the resultant array does
not have duplicates.
required ans:[5261,5247,5246,526,557].
Same with the rest below.
[5261, 5247, 5246] with 'NaN'
[521, 5547, 5246] with [526, 557, 5246]
[521, 5547, 5246] with 'NaN'
These results need to be stored somewhere and the resultant result (counts to 4 nos) is repeated with 'a0' too.
I tried many ways but doesn't work out. Any help is appreciated.
Thanks, Sonia