Skip to content

priyashadapad/Customer_Behaviour_Analysis

Repository files navigation

Customer Behaviour Analysis

End-to-End Data Analytics Project using Python, SQL, and Power BI


Project Overview

This project analyzes customer shopping behavior using retail data to uncover meaningful insights related to purchasing patterns, discount usage, and customer segmentation. It demonstrates a complete data analytics workflow from raw data processing to dashboard visualization and business insights.


Business Objectives

  • Analyze customer purchasing behavior
  • Understand the impact of discounts on spending
  • Segment customers based on purchase history
  • Identify high-value and loyal customers

Dataset Description

The dataset contains retail customer transaction data, including:

  • Customer ID
  • Age
  • Purchase amount
  • Discount applied
  • Previous purchases
  • Product and transaction-related details

The data is initially processed using Python and later stored in a SQL database for querying and analysis.


Tools and Technologies

  • Python (Pandas) for data cleaning and exploratory data analysis
  • MySQL for business-driven queries
  • Power BI for interactive dashboards and data visualization
  • Jupyter Notebook for development and analysis

Project Workflow

Data Loading

  • Loaded the dataset into Python using Pandas
  • Performed initial inspection using basic functions

Data Cleaning and Preparation

  • Handled missing values
  • Removed unnecessary columns
  • Converted data types
  • Created derived columns such as age groups and customer segments

Exploratory Data Analysis

  • Analyzed customer demographics
  • Identified spending trends
  • Studied discount usage patterns

SQL Analysis

  • Loaded cleaned data into a SQL database

  • Executed queries to answer key business questions, including:

    • Customers who used discounts but spent more than the average purchase amount
    • Purchase behavior across different customer segments

Power BI Dashboard

  • Built an interactive dashboard displaying:

    • Customer segmentation
    • Average purchase value
    • Discount impact analysis
    • Key performance indicators
image

Key Insights

  • Loyal customers show higher average purchase values
  • Discounts do not always reduce spending; some discounted customers spend more than average
  • Customer segmentation helps identify high-value customers

About

Analyzed retail customer shopping data using Python (Pandas), SQL, and Power BI to identify purchasing trends, discount effectiveness, and customer segments. Performed data cleaning, EDA, and SQL-based analysis, and built an interactive Power BI dashboard to present actionable business insights for decision-making.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors