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

Kursinhalt

Pandas: First Steps

Pandas: First Steps

1. Getting Started
2. Basics of Dataframes

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

Aufgabe

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

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 9
toggle bottom row

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

Aufgabe

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

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 9
Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
Wir sind enttäuscht, dass etwas schief gelaufen ist. Was ist passiert?
some-alt