Pgpdsba Feb 24 Batch Mod2 Project
Pgpdsba Feb 24 Batch Mod2 Project
AND
BUSINESS ANALYTICS (PGPDSBA)
FEBRUARY 2024 BATCH
SMDM GUIDED PROJECT
1
Problem
Project Statistical Methods for Decision Making: Food Hub
Data Analysis
Context
The app allows the restaurants to receive a direct online order from a
customer. The app assigns a delivery person from the company to pick up
the order after it is confirmed by the restaurant. The delivery person then
uses the map to reach the restaurant and waits for the food package.
Once the food package is handed over to the delivery person, he/she
confirms the pick-up in the app and travels to the customer's location to
deliver the food. The delivery person confirms the drop-off in the app after
delivering the food package to the customer. The customer can rate the
order in the app. The food aggregator earns money by collecting a fixed
margin of the delivery order from the restaurants.
Objective
The food aggregator company has stored the data of the different orders
made by the registered customers in their online portal. They want to
analyze the data to get a fair idea about the demand of different
restaurants which will help them in enhancing their customer experience.
2
Suppose you are a Data Scientist at Food hub and the Data Science team
has shared some of the key questions that need to be answered. Perform
the data analysis to find answers to these questions that will help the
company to improve the business.
Data Description
The data contains the different data related to a food order. The detailed
data dictionary is given below.
Data Dictionary
3
Answers: Analysis & Findings
Question 1: How many rows and columns are present in the data?
The data types of the different columns in the dataset have been
identified, providing valuable insights into the nature of the information
stored. These types include integers, floats, or objects, essential for
understanding the dataset's structure and facilitating effective analysis.
Additionally, the absence of missing values is indicated to understand and
ensure data integrity, while the memory usage indicates the dataset's
efficiency.
Question 3: Are there any missing values in the data? If yes, treat
them using an appropriate method.
The data has been examined for missing values. Through the analysis, it
was understood that no missing values were detected across any of the
columns. This absence of missing data signifies the dataset's
completeness and reliability, mitigating potential inaccuracies in
subsequent analysis. Such insights are essential for business decision-
making, as they ensure that decisions are based on accurate and
comprehensive information.
4
Question 4: Check the statistical summary of the data. What is the
minimum, average, and maximum time it takes for food to be
prepared once an order is placed?
After carefully analysing the statistical summary of the data, it is found that
the minimum time required for food preparation is 20 minutes, indicating
the shortest duration for order fulfilment. On average, orders are prepared in
approximately 27.37 minutes, providing a benchmark for expected
turnaround time. The maximum preparation time recorded is 35 minutes,
representing the longest duration for order completion. Understanding these
metrics, which is vital for optimizing operational efficiency and meeting
customer expectations in the food service industry.
After assessing the dataset, it has been determined that 736 orders are
marked as "Not given" in the rating category. Consequently, the total
count of orders without a rating stands at 736. This observation suggests
that either these orders have not been rated yet, or the rating information
is absent from the dataset. Understanding such details is critical for
evaluating customer satisfaction levels and addressing any potential gaps
in feedback collection processes within the business operations.
5
Section - 1
Univariate Analysis
Customer ID: There are 1200 unique customer IDs recorded, highlighting
the variety of customers served.
Restaurant Name: Across the dataset, 178 unique restaurant names are
identified, showcasing a diverse range of dining establishments.
6
The count plot given above offers a visual representation of the
distribution of cuisine types. This facilitates understanding the popularity
of various cuisines among customers.
7
Histogram: The above histogram represents the frequency distribution of
order costs, with each bar indicating the count of orders falling within
specific cost ranges.
8
Rating:
Unique values in the 'rating' column have been identified, including 'Not
given', '5', '3', and '4'. The count plot visualization showcases the
distribution of ratings, highlighting the frequency of each rating value.
9
Boxplot: Provides information on the central tendency, quartiles, and
potential outliers in food preparation times.
Delivery Time:
10
Boxplot: Offers insights into the central tendency, quartiles, and potential
outliers in delivery times.
11
marketing efforts to capitalize on weekend demand for American cuisine,
enhancing customer satisfaction and driving revenue growth.
12
Section -2
Multivariate Analysis
In the boxplot given below, we can identify the relationship between the
cost of orders and cuisine types through boxplot visualization, which
provides valuable insights into pricing strategies and customer
preferences. Each boxplot represents the distribution of order costs for a
specific cuisine type, allowing businesses to discern patterns and outliers.
The x-axis denotes different cuisine types, while the y-axis represents
order costs. By visualizing the median, quartiles, and potential outliers,
businesses can identify trends in pricing and understand variations in
order costs across different cuisines. This analysis aids in optimizing
menu pricing, identifying opportunities for upselling or cost adjustments,
and tailoring marketing strategies to specific cuisine preferences.
13
Cuisine vs Food Preparation time
In the boxplot given below, between food preparation time and cuisine
type through boxplot visualization offers valuable insights into operational
efficiency and customer service. Each boxplot represents the distribution
of food preparation times for a specific cuisine type, allowing businesses
to identify trends and outliers. The x-axis displays different cuisine types,
while the y-axis indicates food preparation time. By examining the
boxplot, businesses can understand variations in preparation time across
different cuisines, enabling them to optimize kitchen workflows, allocate
resources effectively, and manage customer expectations. This analysis
facilitates strategic decision-making to streamline operations, reduce wait
times, and enhance overall customer satisfaction, thereby driving
profitability and competitiveness in the food service industry.
14
Day of the Week vs Delivery time
From the below given boxplot, the relationship between the day of the
week and delivery time, which provides valuable insights into service
performance and operational efficiency. Each boxplot depicts the
distribution of delivery times for a specific day of the week, enabling
businesses to identify trends and patterns. The x-axis showcases different
days of the week, while the y-axis denotes delivery time. By analysing the
boxplot, businesses can discern fluctuations in delivery times throughout
the week, allowing them to pinpoint potential inefficiencies or bottlenecks
in the delivery process. This analysis aids in optimizing delivery
scheduling, resource allocation, and logistics management to ensure
timely and reliable service.
15
Observations on Restaurant Revenue:
16
Scope for Improvement: Restaurants with lower revenue may want to
consider strategies to attract more customers, improve satisfaction, or
introduce new menu items. Analysing customer feedback and market
trends can help identify areas for improvement and potential for growth.
The point plot presented here helps us see how customer ratings are
linked to delivery time. It's clear, as delivery time decreases, customer
ratings tend to go up. This means that when deliveries are faster,
customers are happier and give higher ratings. So, keeping delivery times
short is crucial for making customers happy and satisfied. Businesses
should focus on making their delivery operations smoother to meet
customer needs and improve service quality.
17
Rating vs Food preparation time
The point plot given below helps us see how customer ratings relate to
food preparation time. Some findings are appended below for
understanding
The plot shows us the average time it takes to prepare food for each rating
given by customers. When higher ratings are given, the food tends to be
prepared faster. This means customers who rate their experience highly
usually get their food quicker. But if there's no clear pattern or higher
ratings are linked to longer food preparation times, it might mean there
are areas in the kitchen that need improving, or that customers aren't as
satisfied.
This analysis tells us how important food preparation time is for keeping
customers happy. It helps restaurants figure out where they can make
improvements to make sure customers have a great dining experience
overall.
18
Rating vs Cost of the order
This point plot we've made helps us see how customer ratings are related
to the cost of their orders. Findings are appended below for understanding
from the point plot
The plot shows us the average amount customers spend on their orders
for each rating they give. The interesting part, there is a clear trend
understood, when customers give higher ratings, they tend to spend more
on their orders. This suggests that happier customers are willing to spend
more money.
19
Correlation among variables
The heatmap uses colors to show us how strongly these variables are
connected to each other.
By looking at the heatmap, we can quickly see which variables are linked.
For example, if 'food_preparation_time' and 'delivery_time' have a strong
positive relationship, it suggests that when food takes longer to prepare, it
also takes longer to deliver.
This analysis helps us make sense of how different parts of the data are
connected. It gives us a starting point for making decisions based on this
nformation and helps us figure out what to explore next.
20
Question 13: The company wants to provide a promotional offer in
the advertisement of the restaurants. The condition to get the offer
is that the restaurants must have a rating count of more than 50 and
the average rating should be greater than 4. Find the restaurants
fulfilling the criteria to get the promotional offer.
From the analysis, we find that the company aims to promote restaurants
meeting specific criteria, which has a rating count exceeding 50 and an
average rating above 4. The findings are appended below for
understanding
Analyzing the list further, we find restaurants meeting the criteria, The
Meatball Shop leads with an average rating of 4.51, followed by Blue
Ribbon Fried Chicken, Shake Shack, and Blue Ribbon Sushi. These high
21
ratings indicate significant customer satisfaction and positive feedback,
making these restaurants ideal candidates for promotional offers.
Question 14: The company charges the restaurant 25% on the orders
having cost greater than 20 dollars and 15% on the orders having
cost greater than 5 dollars. Find the net revenue generated by the
company across all orders.
From the analysis, we find that the focus is on how the company
generates revenue from orders based on specific charging conditions.
Some findings are appended below for understanding
Orders with a cost exceeding $20 incur a charge of 25%, while those
exceeding $5 but not $20 incur a charge of 15%. Orders below $5 do not
incur any charge.
22
and maintaining affordability for customers across a range of order
values.
Question 15: The company wants to analyze the total time required
to deliver the food. What percentage of orders take more than 60
minutes to get delivered from the time the order is placed? (The food
has to be prepared and then delivered.)
Out of all the orders analysed, 10.54% take more than 60 minutes to be
delivered from the time the order is placed.
Question 16: The company wants to analyze the delivery time of the
orders on weekdays and weekends. How does the mean delivery time
vary during weekdays and weekends?
Question 17: What are your conclusions from the analysis? What
recommendations would you like to share to help improve the
business? (You can use cuisine type and feedback ratings to drive your
business recommendations.)
24
4. Analyzing cuisine types has provided insights into customer
preferences. Restaurants offering popular cuisines like American and
Italian can further capitalize on their offerings by expanding their
menu or introducing promotions targeting specific cuisine
preferences.
Recommendations:
25
their order status. By reducing delivery times and ensuring timely service,
the company can enhance the overall customer experience and gain a
competitive edge in the market.
*********
26