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

Contenu du cours

Pandas: First Steps

Pandas: First Steps

1. Getting Started
2. Basics of Dataframes

book
Task - Fetching the Mid-Shift Drinks

Tâche

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 desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 9
toggle bottom row

book
Task - Fetching the Mid-Shift Drinks

Tâche

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 desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 9
Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Nous sommes désolés de vous informer que quelque chose s'est mal passé. Qu'est-il arrivé ?
some-alt