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

Svep för att visa menyn

book
Task: Preview the Coffee Menu

Uppgift

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.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 3. Kapitel 2
Vi beklagar att något gick fel. Vad hände?

Fråga AI

expand
ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

book
Task: Preview the Coffee Menu

Uppgift

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.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 3. Kapitel 2
Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Vi beklagar att något gick fel. Vad hände?
some-alt