This project demonstrates a complete End-to-End Data Analytics Workflow using Python, PostgreSQL, and Power BI.
The objective is to analyze customer shopping behavior from transactional data, transform raw data into meaningful business insights, and present those insights through an interactive Power BI dashboard.
The project covers the complete analytics lifecycle including:
- Data Cleaning
- Exploratory Data Analysis (EDA)
- Feature Engineering
- SQL Business Analysis
- Interactive Dashboard Development
- Business Recommendations
The Power BI dashboard provides an interactive overview of customer demographics, purchase behavior, subscription trends, revenue distribution, and sales performance.
Retail businesses collect large volumes of customer transaction data but often struggle to convert it into actionable insights.
This project helps answer important business questions such as:
- Who are the most valuable customers?
- Which product categories generate the highest revenue?
- How does subscription status affect purchasing behavior?
- Which customer age groups contribute the most revenue?
- Which shipping methods generate higher purchase amounts?
- Which products receive the highest customer ratings?
| Property | Details |
|---|---|
| Dataset | Customer Shopping Behavior |
| Records | 3,900 Customer Purchases |
| Columns | 18 |
| Missing Values | Review Rating (Handled during preprocessing) |
- Customer Demographics
- Purchase Amount
- Product Category
- Item Purchased
- Gender
- Age
- Subscription Status
- Shipping Type
- Purchase Frequency
- Previous Purchases
- Discount Applied
- Review Rating
- Season
- Color
- Size
- Python
- Pandas
- NumPy
- PostgreSQL
- SQL
- Power BI
- Power Query
- DAX
- Jupyter Notebook
Data preprocessing and exploratory analysis were performed using Python.
- Imported dataset using Pandas
- Checked data structure
- Performed Exploratory Data Analysis
- Handled missing values
- Standardized column names
- Feature Engineering
- Created Age Groups
- Generated Purchase Frequency metrics
- Connected to PostgreSQL
- Exported cleaned data into PostgreSQL
Business questions were solved using PostgreSQL.
- Revenue by Gender
- High Spending Discount Customers
- Top Rated Products
- Shipping Type Comparison
- Subscribers vs Non-Subscribers
- Discount Dependent Products
- Customer Segmentation
- Top Products by Category
- Repeat Buyers Analysis
- Revenue by Age Group
The cleaned data was imported into Power BI to build an interactive dashboard.
- π₯ Number of Customers
- π° Average Purchase Amount
- β Average Review Rating
- Subscription Status Analysis
- Revenue by Category
- Sales by Category
- Revenue by Age Group
- Sales by Age Group
- Interactive Filters
- Gender Filter
- Product Category Filter
- Shipping Type Filter
- Clothing generates the highest revenue among all product categories.
- Young Adult customers contribute the highest revenue.
- Most customers are non-subscribers.
- Express shipping customers have a higher average purchase amount.
- Loyal customers represent the largest customer segment.
- Top-rated products demonstrate strong customer satisfaction.
- Subscription status influences customer purchasing behavior.
- Increase subscription adoption through exclusive offers.
- Reward loyal customers with personalized loyalty programs.
- Focus marketing campaigns on high-revenue age groups.
- Promote top-rated products.
- Optimize discount strategies to improve profitability.
- Encourage express shipping through promotional incentives.
Raw CSV Dataset
β
βΌ
Python
(Data Cleaning & EDA)
β
βΌ
Feature Engineering
β
βΌ
PostgreSQL
(SQL Business Analysis)
β
βΌ
Power BI
(Dashboard & KPI Reporting)
β
βΌ
Business Insights
- Data Cleaning
- Exploratory Data Analysis (EDA)
- Feature Engineering
- Python Programming
- Pandas
- NumPy
- PostgreSQL
- SQL Queries
- Power BI
- Power Query
- DAX
- Dashboard Design
- Data Visualization
- Business Intelligence
- Business Analysis
Customer-Behavior-Analysis
β
βββ Dashboard
β βββ Customer_Behavior_Dashboard.pbix
β
βββ Dataset
β βββ Customer_Shopping_Behavior.csv
β
βββ Documentation
β βββ Customer_Shopping_Behavior_Analysis.pdf
β
βββ Images
β βββ Customer_Behavior_Dashboard.png
β
βββ Notebook
β βββ Customer_Shopping_Behavior_Analysis.ipynb
β
βββ Presentation
β βββ Customer_Shopping_Behavior_Analysis.pptx
β
βββ SQL
β βββ Customer_Behavior_SQL_Queries.sql
β
βββ README.md
βββ LICENSE
- Customer Lifetime Value Prediction
- Product Recommendation System
- Customer Churn Prediction
- Sales Forecasting
- Machine Learning Classification Models
- Interactive Executive Dashboard
Developed an end-to-end Customer Shopping Behavior Analysis project using Python, PostgreSQL, and Power BI. Performed data cleaning, exploratory data analysis, feature engineering, SQL-based business analysis, and interactive dashboard development to uncover customer purchasing patterns, revenue trends, and actionable business insights.
Data Analyst | SQL | Python | Power BI | Excel
https://github.com/hanumanth112
https://www.linkedin.com/in/hanumantha-b-673938374
