Skip to content

mayank4059/Sales-Analysis-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sales-Analysis-Project

A mini project on sales analysis in python using Matplotlib, Pandas and Seaborn

Objective

Upon initial ispection of the data, we can start thinking of some questions about it that we would want to answer.

  • What is overall sales trend?
  • What are top 10 products by sale?
  • What are most selling products?
  • Which is the most preferred shipping mode?
  • Which are profitable categories and sub categories?

DATA AUDITING

We cannot work with the data until we know what are we dealing with, for example,

  • Sales, Product name column
  • Looking for any missing data
  • Number of rows and so on.

Screen Shot 2020-12-02 at 12 55 20 AM

EXPLORATORY DATA ANALYSIS

WHAT IS OVERALL SALES TREND?

  • Approach
  1. Generate a new column with Year and Date in format (YYYY-MM)
  2. Group all the Sales of the same Month and combine it with the above New Column
  3. Plot the new dataframe with X axis as Month-Year and Y axis as COmbined Month Sales

Result :

Screen Shot 2020-12-02 at 1 02 59 AM

WHICH ARE PROFITABLE CATEGORIES AND SUB-CATEGORIES?

  • Approach
  1. Filter out a new data set with categories, its sub Categories and the respective Profits
  2. Sort the data in descending order.

Result :

Screen Shot 2020-12-02 at 1 03 54 AM

WHICH ARE TOP 10 PRODUCTS BY SALE?

  • Approach
  1. We need two columns, product name and the sales.
  2. We will get the combined sale for that project using groupby
  3. Arrange it in decending order and print out top 10 objects.

Result :

Screen Shot 2020-12-02 at 1 39 40 AM

WHICH ARE MOST SELLING PRODUCTS?

  • Approach
  1. We need a table which contain Product name and the combined quantity sold.
  2. Group that into a dataframe.
  3. Arrange them in descending order and print only first 5.

Result :

Screen Shot 2020-12-02 at 1 39 31 AM

WHICH IS MOST PREFERRED SHIPPING MODE?

  • Approach
  1. Counting and grouping each Ship mode using Seaborn

Result :

Screen Shot 2020-12-02 at 1 35 43 AM

About

A mini project on sales analysis in python using Matplotlib, Pandas and Seaborn

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published