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

Contenido del Curso

Pandas: First Steps

Pandas: First Steps

1. Getting Started
2. Basics of Dataframes

book
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:

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

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 9
toggle bottom row

book
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:

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

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 9
Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
Lamentamos que algo salió mal. ¿Qué pasó?
some-alt