Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Task - Signature Drinks | Getting Started
Pandas: First Steps
course content

Зміст курсу

Pandas: First Steps

Pandas: First Steps

1. Getting Started
2. Basics of Dataframes

book
Task - Signature Drinks

Завдання

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.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 7
toggle bottom row

book
Task - Signature Drinks

Завдання

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.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 7
Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Ми дуже хвилюємося, що щось пішло не так. Що трапилося?
some-alt