Conteúdo do Curso
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 Part of a Series
Tarefa
Swipe to start coding
At Café Pandasia, the manager wants to update the inventory for a specific group of coffee beans. They’ve decided to increase the stock for the first 5 coffee beans (in the original order) by 30 units each, to prepare for an upcoming promotion.
- Reference the first
5
coffee beans from thecoffee_inventory
Series by slicing (either by numerical or custom indexing). - Increase their inventory by
30
units each.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 13
Task: Modifying Part of a Series
Tarefa
Swipe to start coding
At Café Pandasia, the manager wants to update the inventory for a specific group of coffee beans. They’ve decided to increase the stock for the first 5 coffee beans (in the original order) by 30 units each, to prepare for an upcoming promotion.
- Reference the first
5
coffee beans from thecoffee_inventory
Series by slicing (either by numerical or custom indexing). - Increase their inventory by
30
units each.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 13