Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Task: Barista's Favorites Coffees | Getting Started
Pandas: First Steps

Swipe um das Menü anzuzeigen

book
Task: Barista's Favorites Coffees

Aufgabe

Swipe to start coding

The head barista at Café Pandasia has decided to create a list of her favorite drinks of the week. Each drink is ranked from Monday to Friday, with one favorite per day.

She wants you to turn this into a Pandas Series — but instead of using the default numerical index, she wants each drink labeled by the day of the week!

  • Create a new Series using favorites as elements and days as indices.
  • Store the series in a variable called fav_coffees.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 4

Fragen Sie AI

expand
ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

book
Task: Barista's Favorites Coffees

Aufgabe

Swipe to start coding

The head barista at Café Pandasia has decided to create a list of her favorite drinks of the week. Each drink is ranked from Monday to Friday, with one favorite per day.

She wants you to turn this into a Pandas Series — but instead of using the default numerical index, she wants each drink labeled by the day of the week!

  • Create a new Series using favorites as elements and days as indices.
  • Store the series in a variable called fav_coffees.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 4
Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
Wir sind enttäuscht, dass etwas schief gelaufen ist. Was ist passiert?
some-alt