Fuzzy logic for excel data -Pandas
问题 I have two dataframes DF(~100k rows)which is a raw data file and DF1(15k rows), mapping file. I'm trying to match the DF.address and DF.Name columns to DF1.Address and DF1.Name. Once the match is found DF1.ID should be populated in DF.ID(if DF1.ID is not None) else DF1.top_ID should be populated in DF.ID. I'm able to match the address and name with the help of fuzzy logic but i'm stuck how to connect the result obtained to populate the ID. DF1-Mapping file DF Raw Data file import pandas as pd