Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Task: Tracking Coffee Bean Deliveries | Basics of Dataframes
Pandas: First Steps
course content

Course Content

Pandas: First Steps

Pandas: First Steps

1. Getting Started
2. Basics of Dataframes

book
Task: Tracking Coffee Bean Deliveries

Task

Swipe to start coding

Every morning, CafΓ© Pandasia receives fresh bags of coffee beans from different suppliers.

You’ve been asked to create a table to keep track of these daily deliveries. The data is given in the form of a 2D List called delivery_data.

  • Use the provided 2D list to create a new DataFrame (delivery_df).
  • Set the column names as: 'Bean Type', 'Quantity (kg)', and 'Origin' respectively.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 3
toggle bottom row

book
Task: Tracking Coffee Bean Deliveries

Task

Swipe to start coding

Every morning, CafΓ© Pandasia receives fresh bags of coffee beans from different suppliers.

You’ve been asked to create a table to keep track of these daily deliveries. The data is given in the form of a 2D List called delivery_data.

  • Use the provided 2D list to create a new DataFrame (delivery_df).
  • Set the column names as: 'Bean Type', 'Quantity (kg)', and 'Origin' respectively.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 3
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt