I have a customer data set which have multiple columns(Firstname,Lastname,phone,state,zip). Need an algorithm in Python which can check when some new records will come those are already existing customer records or not. So main challenge is the algorithm will not check the exact duplicate row. I am not interested to find whether the customer is existing by all properties but only few properties. Ex: For Some customer: Name, Address 1 and city are matching (remaining are different).That will be an existing customer For some customer: Name, Birth Date and Pin Code are matching (remaining are different): Existing customer For some customer: Name and Contact number matching (remaining are different). I am new in python and not able to find any suitable solution for this. Please help.