Skip to content

fadhli123/Python_Sales_Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

221122_Python_Sales_Analysis

In this project I'll try to analysis one year sales data using python in jupyert notebook including the visualization. You can also check my jupyter notebook file 221122_Sales_Analysis_Project - Jupyter Notebook.pdf in this repository because I also put comments and markdowns for each steps to help understad the process of this project.

Importing Libraries and Merging Data

lets start by importing necessary libraries. After that, because the sales data is separated in each month, we need to merging this data into one single sheet. image Now we have merged data in all_data.csv. Lets continue to data cleaning!

Data Cleaning

As you can see below when I check the merged data, this data is not perfectly merged as desired. There is some null rows and some column headers is interpreted as data.

image

image

So we know what is need to be done, let's drop the rows that contain null and column headers, then change the numerical data type to int.

image

image

Adding New Necessary Column

Before start to analysis, we need to adding some columns such as Month Number, Sales and City Name image

Data Analysis and Visualization

Data analysis in term of business always related to the business question. So my analysis is based on business question that the answer can help give the business insight.

image image From the analysis above we have the insight of the best month for sales is December. Maybe it is related to Christmas and New Year so sales can increase.

What about the best city for sales? image image We now answer the question that based on data San Francisco is the best city for sales.

Now lets find out what time is the peak of sales? image image

What about most sales product? image image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors