Contenido del 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: Adding a New Employee to the Café Team
Tarea
Swipe to start coding
The manager is maintaining a list of employees working at the café. The current data includes the name, role, and hours worked for three employees:
Name | Role | Hours Worked |
---|---|---|
Alice | Barista | 35 |
Bob | Chef | 40 |
Charlie | Waiter | 30 |
The manager wants to register a new employee to the list.
- Use the
loc
property to add a new row at the next available index with the following data related to the new employee:- Name:
David
- Role:
Barista
- Hours Worked:
37
- Name:
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 9
Task: Adding a New Employee to the Café Team
Tarea
Swipe to start coding
The manager is maintaining a list of employees working at the café. The current data includes the name, role, and hours worked for three employees:
Name | Role | Hours Worked |
---|---|---|
Alice | Barista | 35 |
Bob | Chef | 40 |
Charlie | Waiter | 30 |
The manager wants to register a new employee to the list.
- Use the
loc
property to add a new row at the next available index with the following data related to the new employee:- Name:
David
- Role:
Barista
- Hours Worked:
37
- Name:
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 9