This project focuses on analyzing customer shopping behavior using transactional data (~3,900 records) to identify patterns in spending, customer segments, product performance, and subscription behavior.
The goal is to derive data-driven insights that help improve business strategy, marketing decisions, and customer engagement.
- Python (Pandas, NumPy) → Data Cleaning & EDA
- SQL (PostgreSQL) → Business Query Analysis
- Power BI → Data Visualization & Dashboard
- Excel (supporting) → Data inspection
-
Total Records: 3,900
-
Columns: 18
-
Key Features:
- Customer demographics (Age, Gender, Location)
- Purchase details (Category, Amount, Season)
- Behavior data (Discounts, Frequency, Ratings)
-
Data Issue:
- Missing values in Review Rating column (~37 rows)
-
Loaded dataset using pandas
-
Handled missing values using median imputation (category-wise)
-
Standardized column names (snake_case)
-
Feature Engineering:
- Created age_group
- Derived purchase_frequency_days
-
Removed redundant column (promo_code_used)
-
Exported cleaned data into PostgreSQL for SQL analysis
Performed multiple analytical queries to answer key business questions:
- Compared revenue by gender → Male customers contributed significantly higher revenue (~157K vs ~75K) (Page 3)
-
Identified high-spending customers using discounts
-
Segmented customers into:
- New
- Returning
- Loyal (Majority were loyal users) (Page 5)
- Top-rated products: Gloves, Sandals, Boots (Page 4)
- Top-selling products per category (Page 6)
-
Subscription vs Non-subscription analysis:
- Non-subscribers generated higher total revenue (Page 4)
-
Shipping type comparison:
- Express shipping users had slightly higher average spend (Page 4)
- Discount dependency by product
- Repeat buyers vs subscription likelihood
- Revenue contribution by age group (Page 6)
Built an interactive dashboard to visualize insights:
- Total Customers: 3.9K
- Average Purchase Amount: $59.76
- Average Rating: 3.75
- Revenue by category
- Sales distribution
- Customer segmentation (subscription-based)
- Revenue by age group
- Interactive filters (Gender, Category, Shipping Type)
👉 The dashboard provides a 360° view of customer behavior and business performance (Page 7)
- Loyal customers form the majority → strong retention base
- Discounts drive purchases but require optimization
- Certain products are highly discount-dependent
- Younger age groups contribute higher revenue
- Express shipping correlates with higher spending
- Improve subscription offerings with exclusive benefits
- Introduce loyalty programs for repeat customers
- Optimize discount strategies to maintain margins
- Promote top-rated & best-selling products
- Target high-value customer segments for marketing
This project demonstrates:
-
End-to-end data analytics workflow
-
Strong skills in SQL + Python + Power BI
-
Ability to convert raw data into actionable business insights
-
Cohort analysis
-
Storytelling narrative (very important for Product/Data roles)