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

bookTask: 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

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 3
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Suggested prompts:

Summarize this chapter

Explain the code in file

Explain why file doesn't solve the task

close

Awesome!

Completion rate improved to 2.7

bookTask: Tracking Coffee Bean Deliveries

Swipe to show menu

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!

close

Awesome!

Completion rate improved to 2.7
SectionΒ 2. ChapterΒ 3
single

single

some-alt