Skip to content

About

Customer Shopping Behavior Analysis using Python, SQL, and Power BI — uncovering insights into spending patterns, product performance, customer segments, discount dependency, and subscription behavior to drive data-driven retail decisions.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Customer Shopping Behavior Analysis

📌 Project Overview

A complete end-to-end analysis of 3,900 customer shopping transactions to uncover insights into spending patterns, product preferences, discount effectiveness, and subscription behavior. This project demonstrates skills in Python, SQL, Power BI, and business analytics with actionable recommendations.

📁 Dataset Summary

  • Total Records: 3,900

  • Features: 18

  • Average Purchase Amount: $59.76

  • Average Rating: 3.75

Key Data Fields

  • Customer demographics (Age, Gender, Location)

  • Purchase details (Category, Item, Price, Season)

  • Shopping behavior (Discounts, Ratings, Frequency)

  • Subscription status

  • Shipping type

    🛠 Tools & Technologies

  • Python (Pandas, feature engineering, cleaning)

  • SQL (Customer analysis, segmentation, revenue queries)

  • Power BI (Dashboard and visual insights)

    🔧 Data Preparation

  • Loaded and explored data using Python

  • Handled missing values (37 Review Rating entries)

  • Created new features:

    • Age groups

    • Purchase frequency

  • Loaded cleaned dataset into SQL for deeper analysis

    📊 Key Insights

  1. Revenue Insights
  • Male customers generate 2.1× more revenue than female customers

  • Subscribers and non-subscribers have similar average spend

  1. Customer Segmentation
  • Loyal Customers: 3,116

  • Returning Customers: 701

  • New Customers: 83

  1. Product Performance
  • Top-rated products: Gloves, Sandals, Boots

  • Category leaders include Blouse, Jewelry, Sandals, Jacket

  1. Discount Strategy
  • Highest discount usage on: Hat, Sneakers, Coat

  • 863 customers used discounts but still spent above average

  1. Shipping & Subscription
  • Express shipping customers spend slightly more

  • 72% of repeat buyers are not subscribed → strong conversion potential

📈 Dashboard (Power BI)

The interactive dashboard includes:

  • Revenue by gender & category

  • Customer segmentation

  • Top-performing products

  • Discount dependency analysis

  • Shipping & subscription behavior

    Screenshot 2025-12-11 123246

    🧭 Recommendations

  • Encourage subscription among repeat buyers

  • Optimize discount offers to protect margins

  • Promote top-rated/high-demand products

  • Target young adults and express shipping users

  • Personalize marketing based on customer segments

    📂 Project Structure

Customer-Behavior-Analysis/

│── data/

│── python-notebook/

│── sql-queries/

│── powerbi-dashboard/

│── report.pdf

└── README.md

👩‍💻 Author

Jnana Pravallika Kandiboyina

Aspiring Data Analyst | Python | SQL | Power BI

About

Customer Shopping Behavior Analysis using Python, SQL, and Power BI — uncovering insights into spending patterns, product performance, customer segments, discount dependency, and subscription behavior to drive data-driven retail decisions.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages