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

Desliza para mostrar el menú

book
Task: Finding the Most Expensive Coffees

Tarea

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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 3. Capítulo 4

Pregunte a AI

expand
ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

book
Task: Finding the Most Expensive Coffees

Tarea

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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 3. Capítulo 4
Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
Lamentamos que algo salió mal. ¿Qué pasó?
some-alt