Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Task: Coffee Orders Series | Getting Started
Pandas: First Steps

bookTask: Coffee Orders Series

Task

Swipe to start coding

Welcome to CafΓ© Pandasia! You've just been hired as a data assistant, and your first job is to organize today’s coffee orders into a format that's easier to analyze.

The barista quickly scribbled the coffee orders on a napkin as a plain list. Your mission is to turn this list into a Pandas Series so the cafΓ© can keep track of which drinks are most popular.

  • Import the Pandas library.
  • Create a Pandas Series from the orders list.
  • Store the Series into a new variable orders_series.

Solution

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. 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: Coffee Orders Series

Swipe to show menu

Task

Swipe to start coding

Welcome to CafΓ© Pandasia! You've just been hired as a data assistant, and your first job is to organize today’s coffee orders into a format that's easier to analyze.

The barista quickly scribbled the coffee orders on a napkin as a plain list. Your mission is to turn this list into a Pandas Series so the cafΓ© can keep track of which drinks are most popular.

  • Import the Pandas library.
  • Create a Pandas Series from the orders list.
  • Store the Series into a new variable orders_series.

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Β 1. ChapterΒ 3
single

single

some-alt