Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer Task - Signature Drinks | Getting Started
Pandas: First Steps

Veeg om het menu te tonen

book
Task - Signature Drinks

Taak

Swipe to start coding

At Café Pandasia, every barista has their own specialty drink — the one they’re best at making! The manager wants to organize this data so that each barista’s name is used as a label, and their signature drink is the value.

Let’s help them make a neat pandas.Series using custom indices.

  • Create a Series from the drinks list, using the baristas list as custom indices.
  • Store the Series in a variable in a variable called specialities.
  • Print the speciality drink of "Chloe" in a new variable called chloes_drink.
  • Print the speciality drink of "Chloe" via Custom Indexing.

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 1. Hoofdstuk 7

Vraag AI

expand
ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

book
Task - Signature Drinks

Taak

Swipe to start coding

At Café Pandasia, every barista has their own specialty drink — the one they’re best at making! The manager wants to organize this data so that each barista’s name is used as a label, and their signature drink is the value.

Let’s help them make a neat pandas.Series using custom indices.

  • Create a Series from the drinks list, using the baristas list as custom indices.
  • Store the Series in a variable in a variable called specialities.
  • Print the speciality drink of "Chloe" in a new variable called chloes_drink.
  • Print the speciality drink of "Chloe" via Custom Indexing.

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 1. Hoofdstuk 7
Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Onze excuses dat er iets mis is gegaan. Wat is er gebeurd?
some-alt