Task: Preview the Coffee Menu
Oppgave
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 ofdf
and store them in a new variable calledresult
.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 2
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Suggested prompts:
Oppsummer dette kapittelet
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 2.7
Task: Preview the Coffee Menu
Sveip for å vise menyen
Oppgave
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 ofdf
and store them in a new variable calledresult
.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Awesome!
Completion rate improved to 2.7Seksjon 3. Kapittel 2
single