Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Task: Adding New Coffee Types to the Café Menu | Basics of Dataframes
Pandas: First Steps

Stryg for at vise menuen

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

Opgave

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øsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 2. Kapitel 10

Spørg AI

expand
ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

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

Opgave

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øsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 2. Kapitel 10
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Vi beklager, at noget gik galt. Hvad skete der?
some-alt