Sektion 2. Kapitel 2
single
Task: Creating a Table of Popular Coffee Drinks
Stryg for at vise menuen
Opgave
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
Var alt klart?
Tak for dine kommentarer!
Sektion 2. Kapitel 2
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat