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

Stryg for at vise menuen

book
Task - Fetching the Mid-Shift Drinks

Opgave

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 desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 9
Vi beklager, at noget gik galt. Hvad skete der?

Spørg AI

expand
ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

book
Task - Fetching the Mid-Shift Drinks

Opgave

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 desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 9
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Vi beklager, at noget gik galt. Hvad skete der?
some-alt