Avsnitt 3. Kapitel 2
single
Task: Preview the Coffee Menu
Svep för att visa menyn
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 ofdfand store them in a new variable calledresult.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 2
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal