This project is based on the Quantium Data Analytics Virtual Experience Program offered through Forage.
The objective of this project is to analyze retail transaction and customer purchase behaviour data to understand customer segments and their purchasing patterns. The insights generated from this analysis can help the Category Manager make better business decisions for the chips category.
Quantium's Category Manager wants to understand:
- Who are the major chip customers?
- Which customer segments generate the highest sales?
- Which brands perform the best?
- Which pack sizes are the most popular?
- How can marketing strategies improve future sales?
The project uses two datasets:
-
QVI_transaction_data.xlsx
- Customer transactions
- Product information
- Sales
- Quantity
- Date
-
QVI_purchase_behaviour.csv
- Customer Lifestage
- Premium Customer Segment
- Python
- Pandas
- NumPy
- Matplotlib
- OpenPyXL
- VS Code
- Git
- GitHub
- Import transaction data
- Import customer data
- Missing value check
- Duplicate check
- Data type conversion
- Invalid records inspection
- Extract Brand Name
- Extract Pack Size
Merge transaction data with customer purchase behaviour.
Analyze:
- Total Sales
- Customer Segments
- Premium Customers
- Top Brands
- Pack Size Performance
Created charts for:
- Sales by Lifestage
- Sales by Premium Customer
- Top 10 Brands
- Top Pack Sizes
Provide data-driven recommendations for the Category Manager.
quantium-task1-customer-analytics
β
βββ data
β βββ raw
β βββ processed
β
βββ src
β βββ Task1_Data_Preparation_Customer_Analytics.py
β
βββ output
β βββ charts
β βββ report
β
βββ README.md
- Customer purchasing behaviour varies across different lifestages.
- Premium customers contribute significantly to overall sales.
- Certain chip brands outperform competitors.
- Some pack sizes are consistently more popular than others.
- Focus marketing campaigns on high-value customer segments.
- Increase inventory for popular brands.
- Optimize shelf space for high-performing pack sizes.
- Create personalized promotions for premium customers.
- Improve marketing strategies using customer segmentation.
Clone this repository
git clone https://github.com/syed-ubedullah/quantium-task1-customer-analytics.gitInstall required libraries
pip install -r requirements.txtRun the project
python src/Task1_Data_Preparation_Customer_Analytics.pySyed Ubedullah Basha
Aspiring Data Analyst
GitHub: https://github.com/syed-ubedullah
LinkedIn: https://www.linkedin.com/in/syed-ubedullah-basha
This project was completed as part of the Quantium Data Analytics Virtual Experience Program on Forage.
The project focuses on customer analytics, retail transaction data analysis, data cleaning, exploratory data analysis (EDA), customer segmentation, and business insights using Python.



