Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Task: Adding a New Employee to the Café Team | Basics of Dataframes
Pandas: First Steps
course content

Conteúdo do Curso

Pandas: First Steps

Pandas: First Steps

1. Getting Started
2. Basics of Dataframes

book
Task: Adding a New Employee to the Café Team

Tarefa

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:

NameRoleHours Worked
AliceBarista35
BobChef40
CharlieWaiter30

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

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 9
toggle bottom row

book
Task: Adding a New Employee to the Café Team

Tarefa

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:

NameRoleHours Worked
AliceBarista35
BobChef40
CharlieWaiter30

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

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 9
Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Sentimos muito que algo saiu errado. O que aconteceu?
some-alt