I tried to perform fuzzy match between two columns in my pandas data frame but could not get the right result. Could someone please help me with this one.
Asked
Active
Viewed 68 times
0
-
Hey. I can't open the image for some reason. can you probably type stuff and describe a bit. – murphy1310 Jul 28 '19 at 23:24
-
Col1 = ['Rajan','Sujan','Dame'] Col2 = ['Rohan','Sanjan','Darmian'] I want to fuzzy match these columns and get match score. I tried to create a new column as below: df['Match Score'] = fuzz.token_sort_ratio(df['Col1'],['Col2']) But I am only getting one value back in my Match Score column and it is not correct. – Rajan Nepal Jul 29 '19 at 04:52