Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Task: Modifying the Entire Series | Getting Started
Pandas: First Steps
course content

Contenu du cours

Pandas: First Steps

Pandas: First Steps

1. Getting Started
2. Basics of Dataframes

book
Task: Modifying the Entire Series

Tâche

Swipe to start coding

At Café Pandasia, the manager has decided to run a 10% off sale on all their coffee beans. Your job is to update the inventory to reflect this sale by applying the 10% discount to the coffee bean stock.

  • Decrease all the prices in coffee_inventory by 10%. Use a single operation.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 12
toggle bottom row

book
Task: Modifying the Entire Series

Tâche

Swipe to start coding

At Café Pandasia, the manager has decided to run a 10% off sale on all their coffee beans. Your job is to update the inventory to reflect this sale by applying the 10% discount to the coffee bean stock.

  • Decrease all the prices in coffee_inventory by 10%. Use a single operation.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 12
Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Nous sommes désolés de vous informer que quelque chose s'est mal passé. Qu'est-il arrivé ?
some-alt