Find the similarity between two string columns of a DataFrame
问题 I am new to programming.I have a pandas data frame in which two string columns are present. Data frame is like below: Col-1 Col-2 Update have a account Account account summary AccountDTH Cancel Balance Balance Summary Credit Card Update credit card Here i need to check the similarity of Col-2 elements with each element of Col-1. It Means i have to compare have a account with all the elements of Col-1 . Then find the top 3 similar one. Suppose the similarity scores are : Account(85),AccountDTH