Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Task - Fetching the Mid-Shift Drinks | Getting Started
Pandas: First Steps

Swipe to show menu

book
Task - Fetching the Mid-Shift Drinks

Task

Swipe to start coding

At CafΓ© Pandasia, each barista has their own specialty drink. You previously created a Series to map each barista to their signature coffee.

Now, the manager wants to focus on the mid-shift team β€” specifically the drinks made by Ben to Chloe (inclusive).

  • Use slicing with custom indexing to get the drinks made by Ben to Chloe (including Chloe).
  • Store the result into a variable called result.

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Β 9
single

single

Ask AI

expand

Ask AI

ChatGPT

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

close

Awesome!

Completion rate improved to 2.7

book
Task - Fetching the Mid-Shift Drinks

Task

Swipe to start coding

At CafΓ© Pandasia, each barista has their own specialty drink. You previously created a Series to map each barista to their signature coffee.

Now, the manager wants to focus on the mid-shift team β€” specifically the drinks made by Ben to Chloe (inclusive).

  • Use slicing with custom indexing to get the drinks made by Ben to Chloe (including Chloe).
  • Store the result into a variable called result.

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

Swipe to show menu

some-alt