Walmart home furnishing data analysis

Walmart home furnishing data analysis

Walmart is an American company found in Arkansas in the year 1962. Walmart operates approximately 10,500 stores and clubs under 46 banners in 24 countries and eCommerce websites. We employ 2.3 million associates around the world — nearly 1.6 million in the U.S. alone.

Walmart would like to predict sales & demand accurately. The sales data is available for 45 stores and there are certain events and holiday which may impact sales on each day. Business is facing a challenge due to unforeseen demands and runs out of stock some times. Walmart runs several promotional markdown events throughout the year. These markdowns precede prominent holidays, the four largest of all, which are the Super Bowl, Labor Day, Thanksgiving, and Christmas. The weeks including these holidays are weighted five times higher in the evaluation than non-holiday weeks. Part of the challenge presented by this competition is modeling the effects of markdowns on these holiday weeks in the absence of complete/ideal historical data. Historical sales data for 45 Walmart stores located in different regions are available.

Dataset Description

This is the historical data that covers sales from 2010–02–05 to 2012–11–01. Within this file you will find the following fields

  • Store — the store number
  • Date — the week of sales
  • Weekly_Sales — sales for the given store
  • Holiday_Flag — whether the week is a special holiday week 1 — Holiday week 0 — Non-holiday week
  • Temperature — Temperature on the day of sale
  • Fuel_Price — Cost of fuel in the region
  • CPI — Prevailing consumer price index
  • Unemployment — Prevailing unemployment rate

Basic statistic tasks:-

  • Which product has the maximum cost after discount
  • Which store has the maximum standard deviation and co-efficient of variance.
  • Monthly and semester view of sales in units and give insights.
  • Which store has a good quarterly growth rate in Q4 2012.
  • Holidays which have higher sales than the mean sales in non-holiday season for all stores together

We will now start our analysis

Step 1: Import the data set in MySQL

  • Create a new Data base using command: Create database Relevel;
  • Now enter 'Use Relevel' command;
  • Use table data import wizard to import table, name it as 'sales'.
  • SELECT * FROM sales;

No alt text provided for this image

Step 2: Understand the dataset. By running the command 'DESCRIBE sales' we get following information.

No alt text provided for this image

Now we will analyze the data.

Question 1. Which store has the maximum sales in the dataset?

We will run the following command :

'SELECT Store, sum(Weekly_sales) AS total_sales

FROM sales

GROUP BY 1

ORDER BY 2 DESC

LIMIT 1;

No alt text provided for this image

We can clearly see store 1 has the maximum sales.

Question 2. Which store has maximum standard deviation i.e., the sales vary a lot. Also, find out the coefficient of variance (C0V).

The mean of 45 stores is 1528277.86 and Standard Deviation is 153898.17

No alt text provided for this image
No alt text provided for this image

Question 3. Provide monthly and yearly sales.

Monthly Sales

No alt text provided for this image

You can clearly see the monthly sales of all 45 stores.

No alt text provided for this image

Yearly sales

No alt text provided for this image
No alt text provided for this image

we can clearly see has a rise at the end of first quarter, second quarter and fourth quarter.

The yearly sales has declined in 2012 after a rise in 2011.

要查看或添加评论,请登录

Akshay Kumar的更多文章

  • Swiggy Data Analysis in Excel

    Swiggy Data Analysis in Excel

    Swiggy was founded in July 2014, an Indian online food ordering and delivery platform. It is based in Bangalore and…

    6 条评论
  • Data Analysis Project-Excel Dashboard

    Data Analysis Project-Excel Dashboard

    In this project we will use project management sample data. Excel is a widely used for data analysis that's why we will…

  • Examination Day Data Analysis

    Examination Day Data Analysis

    "I have just completed all my notes" - said Rohit "tomorrow is my exam at JanakPuri West". Ramesh: Oh! great have you…

  • Filling Income tax is now easy in 2021

    Filling Income tax is now easy in 2021

    In the time of corona 2.0 it is better to stay home and work from home.

  • Economics of nature: value in exchange of value.

    Economics of nature: value in exchange of value.

    There must be exchange of two things between two people to make a transaction. We usually exchange currency in order to…

社区洞察

其他会员也浏览了