Skip to content

Comparing the average calories in four perceived unhealthy fast food restaurants to the average calories of a perceived healthy restaurant.

Notifications You must be signed in to change notification settings

GraceEnsign/Fastfood_Menu_Analysis

Repository files navigation

Fastfood Menu Analysis

Project Description

Comparing the average calories in four perceived unhealthy fastfood restaurants (McDonalds, Burger King, Taco Bell, and Wendys) to the average calories of a perceived healthy fast casual restaurant (Panera Bread). Each menu's nutrition information was obtained, and this project will focus primarily on the menu's calories and macronutrients (fats, carbohydrates, and protein) percentages. I have acquired the number of items on each menu, the highest calorie item as well as the lowest calorie item, the average calories of each menu, and the total percentage of macronutrients. Analysis created to aid in the question: Is the perceived healthy restaurant really the healthier option?

Instructions to Run Project/Install Packages

  1. Clone the repository by typing the following:
    git clone https://github.com/GraceEnsign/Fastfood_Menu_Analysis
  2. Run the following to install required packages:
    pip install -r requirements.txt
  3. Open the Menu_Analysis.ipynb once in the main directory with Jupyter Notebook, or open with editor.

Relevant Packages

Python 3.9.7
Jupyter Notebook
Matplotlib 3.4.2
Pandas 1.3.4
NumPy 1.20.3

Data Description

Acquired five dataframes containing the nutrition information for the menus of McDonalds, Burger King, Taco Bell, Wendys, and Panera Bread. All five dataframes are a csv file.

Dataframe Sources

McDonalds
Burger King
Taco Bell
Wendys
Panera Bread

Features Included

  1. Read Data In- Read in data from a local csv. (Cell 2)
  2. Manipulate and Clean Data- Used Pandas and NumPy to remove null values, organize columns, and assign variables. (Cells 3-6)
  3. Analyze Data- Created custom functions to operate data. (Cells 7-10, 12)
  4. Visualize Data- Created two plots with Matplotlib. (Cells 11, 13-14)
  5. Interpret Data- Added markdown cells in Jupyter Notebook. (Between each cell throughout project)

Changes from Project Plan

In the initial project plan I had planned to exclude drinks from the menu analysis. However, drinks became necessary to include due to incorporating shakes, smoothies, etc.

About

Comparing the average calories in four perceived unhealthy fast food restaurants to the average calories of a perceived healthy restaurant.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published