0

Common words in two columns

I have two columns in a pandas data frame..these columns contains list of words like ['a','b'] ..now I need to create one more column which will have common words in those columns ( row wise)

8th May 2019, 10:53 AM
Bishu Giri
Bishu Giri - avatar
1 Odpowiedź
+ 1
try the intersection() method to find similarities
9th May 2019, 7:08 PM
Brian Petry
Brian Petry - avatar