Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Find the menu of your favorite restaurant or coffee shop, you can choose more than one. Create a dictionary containing the information of your favorite

Find the menu of your favorite restaurant or coffee shop, you can choose more than one.

Create a dictionary containing the information of your favorite foods and drinks (at least 10). This dictionary should contain the type(food/drink), name of item, price, and calories.

Convert your dictionary to a pandas DataFrame.

With one line of code, create a new column named (calories_over_25) that determines whether an item has more than 25 calories. This column should contain the values True or False for each item in your data.

Print your DataFrame to the screen.

Export your DataFrame as a csv file.

Please submit 2 files:

The exported csv file.

Your code as a .ipynb file.

(You can do this within the google colab notebook by going to file>download>download .ipynb)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 10g Database Administrator Implementation And Administration

Authors: Gavin Powell, Carol McCullough Dieter

2nd Edition

1418836656, 9781418836658

More Books

Students also viewed these Databases questions

Question

Discuss how a flat organizational structure affects communication.

Answered: 1 week ago