Skip to content

An exploratory data analysis (EDA) project on e-commerce customer behavior and spending patterns. Utilizes Python, pandas, and seaborn to uncover insights from user activity and sales data. Highlights trends to inform product strategy and improve customer engagement.

Notifications You must be signed in to change notification settings

DarainHyder/Ecommerce_Data_Analyst_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Š E-commerce Sales Analysis

This project is an exploratory data analysis (EDA) on an E-commerce dataset to derive insights into customer behavior, sales trends, and potential business opportunities. The analysis is performed using Python, with a focus on data cleaning, visualization, and statistical exploration.


πŸ—‚οΈ Project Structure

πŸ“ E-commerce-Sales-Analysis/ β”‚ β”œβ”€β”€ e commerce sales.ipynb # Jupyter Notebook with complete analysis β”œβ”€β”€ Ecommerce Data.csv # Dataset containing e-commerce transaction details └── README.md # Project documentation (this file)


πŸ“Œ Objectives

  • Clean and preprocess the dataset.
  • Analyze customer purchasing patterns.
  • Identify peak sales times and top-performing products.
  • Understand user demographics and behavior.
  • Visualize trends using seaborn, matplotlib, and pandas.

🧾 Dataset Information

The dataset Ecommerce Data.csv contains the following key columns:

  • Email: Customer's email address
  • Address: Shipping address
  • Avatar: Customer avatar (profile image)
  • Avg. Session Length: Time spent on the site during average sessions
  • Time on App: Time spent on the mobile app
  • Time on Website: Time spent on the website
  • Length of Membership: Years of membership
  • Yearly Amount Spent: Annual spending amount by the customer

πŸ§ͺ Technologies Used

  • Python 3.8+
  • Pandas – for data manipulation
  • Matplotlib & Seaborn – for data visualization
  • Jupyter Notebook – for interactive analysis

πŸ“ˆ Key Insights (Sample)

  • Customers who spend more time on the app are likely to spend more money.
  • Time on website has a weaker correlation with yearly spending compared to the app.
  • Membership length is positively correlated with customer spending.
  • Recommendations: Focus development on the mobile app to improve customer retention and spending.

πŸš€ How to Run

  1. Clone the repository:
    git clone https://github.com/yourusername/e-commerce-sales-analysis.git
    cd e-commerce-sales-analysis
    

Create a virtual environment and install dependencies:

python -m venv venv source venv/bin/activate # On Windows use venv\Scripts\activate pip install -r requirements.txt

Launch Jupyter Notebook:

jupyter notebook "e commerce sales.ipynb"

πŸ“„ Requirements

pandas

matplotlib

seaborn

notebook

Feel free to fork this repo, make changes, and submit pull requests. Contributions are welcome!

πŸ“¬ Contact

Linkedin: Syed Darain Hyder Kazmi

Instagram: sawab_e_darain

Whatsapp: +923433055357

discord: sawab_e_darain

About

An exploratory data analysis (EDA) project on e-commerce customer behavior and spending patterns. Utilizes Python, pandas, and seaborn to uncover insights from user activity and sales data. Highlights trends to inform product strategy and improve customer engagement.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published