Python Script to Clean and Deduplicate Messy Contact ListsPython Script to Clean and Deduplicate Messy Contact Lists
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
Exported contact lists are almost always messy. Extra spaces, "LAST, FIRST" names, phone numbers in four formats, dates in six, and the same customer entered twice.
I wrote a small Python script that fixes all of that in one run and, instead of silently dropping bad rows, lists the ones that still need a human look (invalid email, missing phone). In this example 6 rows became 4 clean ones.
If your CRM or shop export looks like the "before" table, happy to help clean it up.
Post image
Adegbemile's avatar
Lol the same customer entered twice shows up in every CRM import I've touched
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started