My contribution
Used Python to examine customer groups and SQL to reconcile the reported totals.
Customer Segmentation & BI · Independent project
I studied purchases from 440 wholesale customers to find who spent the most and how their buying patterns differed. I checked the totals and suggested questions for future marketing tests.
UCI wholesale customers / Annual spending
42.9%of recorded spending came from
the highest spending 20% of customers.
88 of 440 records · Historical public data
Project overview
Independent analysis of historical wholesale customer purchasing data.
Used Python to examine customer groups and SQL to reconcile the reported totals.
Segmentation, data validation, and analytical storytelling.
Helps a team define a more focused customer question and a testable next step.
The 88 customers who spent the most made up 20% of the records and accounted for 42.9% of annual spending. This tells us where spending was concentrated. Grouping customers by what they bought answers a different question.
Try different marketing messages for groups with different buying patterns. Compare each message with a standard version before deciding whether it changed customer behavior.
Learning notes
A next questionUse the purchasing mix groups to frame a message test, then compare responses against a defined control.
Explore the public data
Choose a customer type or region to compare how much customers spent and what they bought.
Recorded monetary units (m.u.). The source does not identify a currency.
| Category | Relative size | Spending (m.u.) |
|---|---|---|
| Fresh | 5,280,131 | |
| Milk | 2,550,357 | |
| Grocery | 3,498,562 | |
| Frozen | 1,351,650 | |
| Detergents & paper | 1,267,857 | |
| Delicatessen | 670,943 |
Ranks customers by total spending across six categories within the selected group. The customer count is rounded up when the selected percentage is not a whole number. Customer type and region come from the original records. They are not groups predicted by the analysis.
Source: Margarida Cardoso, Wholesale customers (2013), UCI Machine Learning Repository · DOI: 10.24432/C5030X · CC BY 4.0. Source records are unchanged. Filters and aggregate views were added for this portfolio.
See the method up close
Working examples with their data and assumptions.
Follow the methods across other projects and working examples.
An independent study of historical public data. The spending result describes these records. It is not business growth or a prediction of future purchases. The interactive report below groups records using the original customer and region labels.