Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Task: Creating a Table of Popular Coffee Drinks | Basics of Dataframes
Pandas: First Steps

Scorri per mostrare il menu

book
Task: Creating a Table of Popular Coffee Drinks

Compito

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
Espresso2.5Italy
Latte3.5France
Cappuccino3.0Italy

Complete the code to create a DataFrame which contains the given data.

Note

Use the Dictionary of Lists format for representing the data.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 2. Capitolo 2
Siamo spiacenti che qualcosa sia andato storto. Cosa è successo?

Chieda ad AI

expand
ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

book
Task: Creating a Table of Popular Coffee Drinks

Compito

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
Espresso2.5Italy
Latte3.5France
Cappuccino3.0Italy

Complete the code to create a DataFrame which contains the given data.

Note

Use the Dictionary of Lists format for representing the data.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 2. Capitolo 2
Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Siamo spiacenti che qualcosa sia andato storto. Cosa è successo?
some-alt