Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Task: Adding New Coffee Types to the Café Menu | 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 New Coffee Types to the Café Menu

Aufgabe

Swipe to start coding

At Café Pandasia, the manager has been updating the menu and wants to add more coffee types.

The manager wants to add three new coffee types:

  1. Americano: Price: 2.8, Availability: Yes
  2. Macchiato: Price: 3.2, Availability: No
  3. Mocha: Price: 3.5, Availability: Yes

Use the loc property to add the three new coffee types to the existing DataFrame (df).

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 10
toggle bottom row

book
Task: Adding New Coffee Types to the Café Menu

Aufgabe

Swipe to start coding

At Café Pandasia, the manager has been updating the menu and wants to add more coffee types.

The manager wants to add three new coffee types:

  1. Americano: Price: 2.8, Availability: Yes
  2. Macchiato: Price: 3.2, Availability: No
  3. Mocha: Price: 3.5, Availability: Yes

Use the loc property to add the three new coffee types to the existing DataFrame (df).

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 10
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