If you scrape or export local business listings (from Google Maps, a directory, or your own CRM), you quickly end up with hundreds of rows and no idea where to start. This tutorial builds a small, transparent scoring function in Python that ranks businesses by likely demand and flags the ones with no website, so the top of your list is where the easy conversations are.
No external services are needed. Everything below runs on the standard library plus csv .
The input
Assume a CSV with one row per business:
name,category,city,reviews,rating,website Amit's Gym,gym,Kolkata,847,4.7, SAS FITNESS,gym,Kolkata,1403,4.6, Kross9 Gym Kasba,gym,Kolkata,551,4.8, Big Chain Fitness,gym,Kolkata,2300,4.2,https://example.com Corner Studio,gym,Kolkata,12,5.0,
Enter fullscreen mode
Exit fullscreen mode
website is empty when the listing has no site.…