Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Task: Preview the Coffee Menu | Fetching Data from DataFrames
Pandas: First Steps

Scorri per mostrare il menu

book
Task: Preview the Coffee Menu

Compito

Swipe to start coding

At Café Pandasia, the menu has grown quite large with many coffee drinks now listed.

Before pricing the entire menu, the manager wants to quickly preview just the first few items to ensure everything looks correct.

  • Use the head() method to fetch the first 4 rows of df and store them in a new variable called result.

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 3. Capitolo 2

Chieda ad AI

expand
ChatGPT

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

book
Task: Preview the Coffee Menu

Compito

Swipe to start coding

At Café Pandasia, the menu has grown quite large with many coffee drinks now listed.

Before pricing the entire menu, the manager wants to quickly preview just the first few items to ensure everything looks correct.

  • Use the head() method to fetch the first 4 rows of df and store them in a new variable called result.

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 3. 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