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

Scorri per mostrare il menu

book
Task: Finding the Most Expensive Coffees

Compito

Swipe to start coding

Café Pandasia has now finalized its updated coffee menu!

Each drink has been assigned a price, and the manager wants to quickly spot the most expensive ones.

  • Fetch the rows containing top three most expensive drinks and store them in a new variable called most_expensive.

Note

In the DataFrame df the drinks have been sorted from least to most expensive in terms of price, with the most expensive drink at the end.

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 4
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: Finding the Most Expensive Coffees

Compito

Swipe to start coding

Café Pandasia has now finalized its updated coffee menu!

Each drink has been assigned a price, and the manager wants to quickly spot the most expensive ones.

  • Fetch the rows containing top three most expensive drinks and store them in a new variable called most_expensive.

Note

In the DataFrame df the drinks have been sorted from least to most expensive in terms of price, with the most expensive drink at the end.

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 4
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