Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Task: Preview the Coffee Menu | Fetching Data from DataFrames
Pandas: First Steps

Pyyhkäise näyttääksesi valikon

book
Task: Preview the Coffee Menu

Tehtävä

Swipe to start coding

At Café Pandasia, the menu has grown quite large with many coffee drinks now listed.

Before pricing the entire menu, the manager wants to quickly preview just the first few items to ensure everything looks correct.

  • Use the head() method to fetch the first 4 rows of df and store them in a new variable called result.

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 3. Luku 2

Kysy tekoälyä

expand
ChatGPT

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

book
Task: Preview the Coffee Menu

Tehtävä

Swipe to start coding

At Café Pandasia, the menu has grown quite large with many coffee drinks now listed.

Before pricing the entire menu, the manager wants to quickly preview just the first few items to ensure everything looks correct.

  • Use the head() method to fetch the first 4 rows of df and store them in a new variable called result.

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 3. Luku 2
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