Comparing two lists and add a new column with findKB different
df = pd.DataFrame({'A': [['10', '20', '30', '40'],['50', '60', '70', '80']],
'B': [['a', 'b'],['c','d']]})
findKBs = ['10','90']
A B
0 [10, 20, 30, 40] [a, b]
1 [50, 60, 70, 80] [c, d]
This will be the desired behavior
A B C
0 [10, 20, 30, 40] [a, b] [90]
1 [50, 60, 70, 80] [c, d] [10,90]
Thanks in advance