Course Content
Pandas: First Steps
Pandas: First Steps
Introduction to PandasSeriesTask: Coffee Orders SeriesTask: Barista's Favorites CoffeesAccessing Elements from a SeriesTask: Drink of the HourTask - Signature DrinksTask: Mid-Morning SpecialsTask - Fetching the Mid-Shift DrinksOperations over SeriesTask: Modifying a single elementTask: Modifying the Entire SeriesTask: Modifying Part of a SeriesTask: Processing the Restock of Inventory
Task: Modifying the Entire Series
Task
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
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 12
Task: Modifying the Entire Series
Task
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
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 12