Customer Shopping Behavior Analysis
How do spending, discounts, shipping and subscriptions differ across customers, and where are the retention opportunities?
Explore the complete case study
01 · Business challenge
How can purchase behavior guide retention and marketing decisions?
02 · Dataset
3,900 purchase records with 18 fields; review ratings, shipping, discounts, subscriptions and purchase patterns.
03 · Data preparation
Used Pandas to validate records, fill 37 missing review ratings with the median, and engineer age-group and purchase-frequency fields.
04 · Analysis & dashboard
Answered 10 business questions using PostgreSQL CTEs, subqueries and window functions; segmented customers into New, Returning and Loyal.
05 · Key findings
Express-shipping purchases averaged approximately $65 compared with $58 for Standard shipping. This is an association in the sample, not proof that shipping choice causes higher spending.
06 · Recommendations
Explore loyalty incentives for returning shoppers, targeted promotions by segment, and subscription conversion opportunities.