Kursinhalt
Pandas: First Steps
Pandas: First Steps
1. Getting Started
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
2. Basics of Dataframes
What is a DataFrame?Task: Creating a Table of Popular Coffee DrinksTask: Tracking Coffee Bean DeliveriesTask: Weekly Coffee Sales ReportAdding new ColumnsTask: Finding Total Sales Per DrinkTask: Calculating Total Sales RevenueAdding new RowsTask: Adding a New Employee to the Café TeamTask: Adding New Coffee Types to the Café Menu
Task: Modifying the Entire Series
Aufgabe
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.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 1. Kapitel 12
Task: Modifying the Entire Series
Aufgabe
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.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 1. Kapitel 12