Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Task - Fetching the Mid-Shift Drinks | Getting Started
Pandas: First Steps
Avsnitt 1. Kapitel 9
single

single

bookTask - Fetching the Mid-Shift Drinks

Svep för att visa menyn

Uppgift

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.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 9
single

single

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

some-alt