This project focuses on analyzing customer demographics and transaction data to generate actionable business insights for a retail company. Using Python, Pandas, NumPy, Matplotlib, and Seaborn, the project performs data cleaning, exploratory data analysis (EDA), customer segmentation using Recency-Frequency-Monetary (RFM) analysis, and business visualization.
The primary objective is to identify high-value customers, improve customer retention, and support data-driven marketing decisions.
A retail company wants to better understand customer purchasing behavior in order to:
- Improve customer retention
- Increase marketing effectiveness
- Identify high-value customers
- Detect customer purchase patterns
- Increase overall profitability
The project uses two datasets:
- Customer ID
- Name
- Gender
- Age
- City
- Marital Status
- Number of Children
- Join Date
- Customer ID
- Transaction Date
- Transaction Amount
| Metric | Value |
|---|---|
| Customers | 1,000 |
| Transactions | 23,050 |
| Dataset Type | Synthetic Retail Dataset |
- Python
- Pandas
- NumPy
- Matplotlib
- Seaborn
- Jupyter Notebook
Customer-Data-Analysis/
β
βββ data/
β βββ Customer_Master_Data.csv
β βββ Customer_Transactions.csv
β
βββ notebooks/
β βββ Customer_Data_Analysis.ipynb
β
βββ images/
β βββ workflow.png
β βββ dashboard.png
β βββ customer_segment.png
β βββ revenue_segment.png
β βββ pareto.png
β βββ recency_vs_monetary.png
β
βββ requirements.txt
β
βββ README.md
Data Collection
β
βΌ
Data Cleaning & Preparation
β
βΌ
Exploratory Data Analysis (EDA)
β
βΌ
RFM Calculation
β
βΌ
RFM Scoring
β
βΌ
Customer Segmentation
β
βΌ
Visualization
β
βΌ
Business Insights
β
βΌ
Marketing Recommendations
| Segment | **Description |
|---|---|
| π Champion | High-value customers who purchase frequently and recently |
| π Loyal Customers | Repeat customers with consistent engagement |
| π± Potential Loyalists | Recent customers with future growth potential |
| Previously active customers with declining activity | |
| β Lost | Inactive customers with low engagement |
| βͺ Others | Customers not matching key business segments |
β Successfully cleaned and validated customer data.
β Performed customer segmentation using RFM analysis.
β Identified high-value customers for targeted marketing.
β Visualized customer purchasing behavior.
β Applied Pareto Analysis to identify top revenue contributors.
β Generated business recommendations for improving customer retention.
- VIP Membership
- Premium Rewards
- Exclusive Product Launches
- Loyalty Points
- Cross-selling
- Personalized Recommendations
- Welcome Offers
- Discount Coupons
- Email Campaigns
- Re-engagement Campaigns
- Limited Time Discounts
- Reminder Notifications
- Exit Surveys
- Win-back Campaigns
- Special Offers
- Data Cleaning
- Data Wrangling
- Exploratory Data Analysis
- Customer Segmentation
- RFM Analysis
- Data Visualization
- Business Analytics
- Marketing Analytics
- Python Programming
- Statistical Analysis
- Interactive Power BI Dashboard
- Customer Lifetime Value (CLV)
- Customer Churn Prediction
- Machine Learning Models
- Streamlit Web Application
- Automated Reporting
Clone the repository
git clone https://github.com/yourusername/Customer-Data-Analysis.gitMove into project directory
cd Customer-Data-AnalysisInstall dependencies
pip install -r requirements.txtRun Jupyter Notebook
jupyter notebookpandas
numpy
matplotlib
seaborn
jupyterβ End-to-End Data Analytics Project
β Real Business Case Study
β Customer Segmentation using RFM
β Professional Visualizations
β Actionable Business Insights
β Marketing Recommendations
π Project Links
LinkedIn: [(https://lnkd.in/p/dSJRkJwu)]




