A comprehensive Python project for analyzing and visualizing sales data. This project includes data preprocessing, customer segmentation, cohort analysis, and market study to uncover actionable business insights.
This project provides tools to analyze sales data from a retail business. It includes modules for cleaning and preprocessing the data, analyzing trends over time, segmenting customers based on purchasing behavior, and visualizing insights through various plots and heatmaps.
- Data Preprocessing: Clean and prepare sales data for analysis.
- Day and Month Analysis: Visualize sales trends by day and month.
- Market Study: Analyze sales and customer distribution across different countries.
- Customer Segmentation: Segment customers using RFM (Recency, Frequency, Monetary) analysis.
- Cohort Analysis: Track customer retention and behavior over time. Here's a README in Markdown format for your repository:
data_preprocessing.py
: Script to clean and preprocess sales data.day_month_analysis.py
: Script to analyze sales trends by day and month.market_study.py
: Script to study the market based on sales data.customer_segmentation.py
: Script to segment customers using RFM analysis.cohort_analysis.py
: Script to perform cohort analysis on customer data.