Task: Barista's Favorites Coffees
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 anddays
as indices. - Store the series in a variable called
fav_coffees
.
Lösung
Danke für Ihr Feedback!
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Zusammenfassen Sie dieses Kapitel
Code in file erklären
Erklären, warum file die Aufgabe nicht löst
Awesome!
Completion rate improved to 2.7
Task: Barista's Favorites Coffees
Swipe um das Menü anzuzeigen
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 anddays
as indices. - Store the series in a variable called
fav_coffees
.
Lösung
Danke für Ihr Feedback!
Awesome!
Completion rate improved to 2.7single