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

Pyyhkäise näyttääksesi valikon

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

Tehtävä

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

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 10

Kysy tekoälyä

expand
ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

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

Tehtävä

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

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 10
Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?
some-alt