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

Scorri per mostrare il menu

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

Compito

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

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 2. Capitolo 9
Siamo spiacenti che qualcosa sia andato storto. Cosa è successo?

Chieda ad AI

expand
ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

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

Compito

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

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 2. Capitolo 9
Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Siamo spiacenti che qualcosa sia andato storto. Cosa è successo?
some-alt