Skip to content

Shruti-H/Sales_Data_Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Sales Data Analysis - Mini Project

πŸ“Œ Overview

This repository contains a Sales Data Analysis project that explores and answers business-related questions using Python, Pandas, and Matplotlib. The dataset consists of 12 months of sales data from an electronics store, containing information on order ID, products, quantity ordered, price, order data and purchase address.

The project includes data cleaning, exploratory data analysis (EDA), and visualization of insights to make data-driven business decisions.


πŸ“Š Data Cleaning & Preparation

Before diving into analysis, data cleaning was performed to ensure accuracy and consistency. Tasks included:

βœ” Dropping NaN values from the DataFrame.
βœ” Converting data types βœ” Extracting useful columns (e.g., hour from timestamp, city from address).


πŸ” Business Questions Answered

Using Pandas & Matplotlib, the following key business questions were explored:

1️⃣ What was the best month for sales? πŸ† How much revenue was generated that month?
2️⃣ Which city had the highest sales? πŸ“ Understanding regional demand.
3️⃣ What time should advertisements be displayed? ⏰ Maximizing customer purchase likelihood.
4️⃣ Which products are most often sold together? πŸ”— Product bundling insights.
5️⃣ What product sold the most? πŸ“¦ Why might it have been the top seller?

Each question was answered using data aggregation, groupby operations, and visualizations


πŸ”§ Methods & Techniques Used

Throughout this analysis, the following Pandas & Matplotlib techniques were leveraged:

βœ” Merging & Concatenating multiple CSV files to create a unified dataset (pd.concat).
βœ” Adding new calculated columns (e.g., sales, hour,city etc).
βœ” String parsing operations (.str.split(), .apply() functions).
βœ” Using groupby for aggregate analysis.
βœ” Visualizing insights using vertival and horizontal bar charts and line graphs βœ” Labeling and formatting graphs for better readability.


πŸ† Credits

This project was inspired by real-world business problems and implemented using Python's powerful data analysis tools.

About

Sales Data Analysis | Pandas & Matplotlib

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published