Skip to content

aftabmonye/Customer_Behaviour_Analysis

Repository files navigation

Customer_Behaviour_Analysis

This project analyzes customer shopping behavior using 3,900 purchase records to identify spending patterns, customer segments, product preferences, and subscription trends. Using Python, SQL, PostgreSQL, and Power BI, the project delivers business insights through data analysis and interactive dashboards.

Data Analytics Project README

Overview

This project demonstrates a complete end-to-end Data Analytics workflow using Python, PostgreSQL, and Power BI. The goal of the project is to analyze a dataset, uncover insights, and present findings through interactive dashboards, reports, and presentations.

The project includes:

  • Data loading and preprocessing using Python
  • Exploratory Data Analysis (EDA)
  • Data cleaning and transformation
  • SQL analysis using PostgreSQL
  • Interactive dashboard creation in Power BI
  • Final business report and PowerPoint presentation

Dataset

The dataset used in this project contains structured data related to business/industry operations and was analyzed to identify trends, patterns, and key performance indicators (KPIs).

Dataset Features

  • Multiple variables and attributes
  • Numerical and categorical data
  • Missing values and inconsistencies handled during cleaning
  • Suitable for analytics and visualization tasks

Tools & Technologies

Tool Purpose
Python Data loading, cleaning, and EDA
Pandas & NumPy Data manipulation
Matplotlib & Seaborn Data visualization
PostgreSQL SQL queries and database analysis
Power BI Dashboard and data visualization
PowerPoint Presentation creation
Jupyter Notebook Development and analysis environment

Project Workflow

1. Data Loading

  • Imported dataset using Python
  • Verified structure, columns, and data types
  • Performed initial inspection of records

2. Exploratory Data Analysis (EDA)

  • Analyzed distributions and relationships
  • Identified trends, patterns, and anomalies
  • Generated charts and summary statistics

3. Data Cleaning

  • Handled missing values
  • Removed duplicates
  • Corrected inconsistent formats
  • Prepared clean dataset for analysis

4. SQL Analysis with PostgreSQL

  • Created database and tables

  • Imported cleaned dataset into PostgreSQL

  • Executed SQL queries for:

    • Aggregations
    • Filtering
    • Joins
    • KPI calculations
    • Trend analysis

5. Power BI Dashboard

Built an interactive dashboard to visualize:

  • Key performance indicators
  • Trends and comparisons
  • Category-wise analysis
  • Business insights

6. Reporting & Presentation

  • Prepared a detailed analytical report

  • Created a professional PowerPoint presentation summarizing:

    • Objectives
    • Methodology
    • Findings
    • Recommendations

Dashboard Highlights

The Power BI dashboard includes:

  • Interactive filters and slicers
  • KPI summary cards
  • Trend analysis charts
  • Comparative visualizations
  • User-friendly interface for stakeholders

Key Results

Some of the major outcomes from the analysis include:

  • Identification of important business trends
  • Insights into performance metrics
  • Improved understanding of customer/operational behavior
  • Data-driven recommendations for decision-making

Project Structure

project-folder/
│
├── data/
│   ├── raw_dataset.csv
│   └── cleaned_dataset.csv
│
├── notebooks/
│   └── eda_analysis.ipynb
│
├── sql/
│   └── analysis_queries.sql
│
├── powerbi/
│   └── dashboard.pbix
│
├── reports/
│   ├── final_report.pdf
│   └── presentation.pptx
│
└── README.md

How to Run the Project

Prerequisites

Install the following:

  • Python 3.x
  • PostgreSQL
  • Power BI Desktop
  • Jupyter Notebook

Steps

  1. Clone the repository:
git clone <repository-link>
  1. Install required Python libraries:
pip install pandas numpy matplotlib seaborn psycopg2
  1. Run the Jupyter Notebook:
jupyter notebook
  1. Execute SQL scripts in PostgreSQL:
Run analysis_queries.sql
  1. Open the Power BI dashboard:
dashboard.pbix

Future Improvements

  • Automate ETL pipeline
  • Deploy dashboards online
  • Add predictive analytics models
  • Integrate real-time data sources

Conclusion

This project demonstrates practical skills in data analytics, SQL, visualization, and business reporting. It highlights the complete analytics lifecycle from raw data processing to actionable insights and presentation-ready outputs.


Author

Aftab Monye Data Analytics Project GitHub: https://github.com/aftabmonye LinkedIn: https://www.linkedin.com/in/aftab-monye-3774a13a3

About

This project analyzes customer shopping behavior using 3,900 purchase records to identify spending patterns, customer segments, product preferences, and subscription trends. Using Python, SQL, PostgreSQL, and Power BI, the project delivers business insights through data analysis and interactive dashboards.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors