Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Task: Modifying a single element | Getting Started
Pandas: First Steps

bookTask: Modifying a single element

Tarea

Swipe to start coding

At Café Pandasia, the coffee shop tracks its coffee bean inventory. The data is stored in a pandas.Series that keeps track of the quantity of each coffee bean type (coffee_inventory);

The café manager has noticed a mistake in the inventory of "Robusta" beans — it was recorded as 200, but after a recount, it should actually be 180.

  • Modify the coffee_inventory and set the Robusta beans to 180.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 11
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

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

Suggested prompts:

Resumir este capítulo

Explicar el código en file

Explicar por qué file no resuelve la tarea

close

bookTask: Modifying a single element

Desliza para mostrar el menú

Tarea

Swipe to start coding

At Café Pandasia, the coffee shop tracks its coffee bean inventory. The data is stored in a pandas.Series that keeps track of the quantity of each coffee bean type (coffee_inventory);

The café manager has noticed a mistake in the inventory of "Robusta" beans — it was recorded as 200, but after a recount, it should actually be 180.

  • Modify the coffee_inventory and set the Robusta beans to 180.

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 1. Capítulo 11
single

single

some-alt