Giter Site home page Giter Site logo

donard20 / simple-sales-data-analysis Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 249 KB

A simple data analysis project from DICT (Analyze Data with Python - Module 4 data Analysis in the Real World) using jupyter notebook, numpy, pandas, matplotlib and seaborn to answer the questions need by the client.

License: MIT License

Jupyter Notebook 100.00%
dataanalysis jupyter-notebook matplotlib newbie-code numpy pandas practice-project script-kiddys seaborn python

simple-sales-data-analysis's Introduction

๐Ÿ“œ Data Analysis in the Real World

๐Ÿ“– Table Of Contents


๐Ÿ”ฅ Aim for this lesson

Using a real world data, I am going to cleaned the data and analyze what my data needs to be answered using what I learned in Python.


๐Ÿ› ๏ธ Problem and Solution

Define the question/s

  1. What is the yearly sales trend?
  2. Which product sold the most in 2016?
  3. Among the three product categories, which one had the lowest sale in 2018?
  4. What is the yearl sales trend of the three customer groups?
  5. Are we getting more corporate customers?

Sales Data Analysis

Data Conclusion

Q1. What is the yearly sales trend?

Ans. There's an increase of sales from 2015 to 2018

Q2. Which product sold the most in 2016?

Ans. The product that sold the most in 2018 is Canon imageCLASS 2200 Advanced Copier with 14000 sales

Q3. Among the three product categories, which one had the lowest sale in 2018?

Ans. The Furniture Category had the lowest sale in 2018

Q4. What is the yearly sales trend of the three customer groups?

Ans. All of the three customer groups exhibited an upward trend starting 2016, but the Corporate customers had a quite a big leap in 2017

Q5. Are we getting more corporate customers?

Ans. We can say that the number of corporate customers is increasing yearly


๐Ÿ”ฅ Learned:

  • Analyze the Data
    • Clean the Data
    • Applied the methods learned from the previous lesson/s
    • fillna() method - to fill null values into non null
    • to_datetime() method - to convert object into date data type
    • astype method() - to convert a object into string readable
  • Working with DataFrame
    • dropna(), isnull, and isna() nethods - for null vaues in data
    • describe() method - information of dataframe
    • simple filtering with conditionals
    • arranging with sort_values
    • aggregate method
  • Modelling the Data
    • More about Data Analysis Steps
    • More about Pandas basic methods
    • barplot() - for making barcharts from matplotlib.pyplot packages
    • lineplot() - for making line charts from matplotlib.pyplot packages
    • label() - for labeling the axes
    • title() - for making title in the charts
    • show() - displaying the charts

ยฉ 2022 Donard Azura

simple-sales-data-analysis's People

Contributors

donard20 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.