Task: Creating a Table of Popular Coffee Drinks
Swipe to start coding
The manager of Café Pandasia wants to organize a simple menu of their most popular coffee drinks, including each drink’s price and country of origin.
They’ve handed you the following data in table form:
☕ Coffee | 💲 Price | 🌍 Origin |
---|---|---|
Espresso | 2.5 | Italy |
Latte | 3.5 | France |
Cappuccino | 3.0 | Italy |
Complete the code to create a DataFrame which contains the given data.
Note
Use the Dictionary of Lists format for representing the data.
Lösning
Tack för dina kommentarer!
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Sammanfatta detta kapitel
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 2.7
Task: Creating a Table of Popular Coffee Drinks
Svep för att visa menyn
Swipe to start coding
The manager of Café Pandasia wants to organize a simple menu of their most popular coffee drinks, including each drink’s price and country of origin.
They’ve handed you the following data in table form:
☕ Coffee | 💲 Price | 🌍 Origin |
---|---|---|
Espresso | 2.5 | Italy |
Latte | 3.5 | France |
Cappuccino | 3.0 | Italy |
Complete the code to create a DataFrame which contains the given data.
Note
Use the Dictionary of Lists format for representing the data.
Lösning
Tack för dina kommentarer!
Awesome!
Completion rate improved to 2.7single