Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer Task: Adding New Coffee Types to the Café Menu | Basics of Dataframes
Pandas: First Steps
Sectie 2. Hoofdstuk 10
single

single

bookTask: Adding New Coffee Types to the Café Menu

Veeg om het menu te tonen

Taak

Veeg om te beginnen met coderen

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).

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 2. Hoofdstuk 10
single

single

Vraag AI

expand

Vraag AI

ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

some-alt