Task: Access Sales Data at Café Pandasia - Part 3
Oppgave
Swipe to start coding
At the Café, the manager is reviewing the weekly coffee sales data from Monday to Wednesday.
- Use
iloc
to fetch sales numbers for"Latte"
and"Cappuccino"
acrossMonday
andTuesday
(only those two days, only those two drinks) from the DataFramedf
. - Store it in a variable called
result
.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 13
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: Access Sales Data at Café Pandasia - Part 3
Sveip for å vise menyen
Oppgave
Swipe to start coding
At the Café, the manager is reviewing the weekly coffee sales data from Monday to Wednesday.
- Use
iloc
to fetch sales numbers for"Latte"
and"Cappuccino"
acrossMonday
andTuesday
(only those two days, only those two drinks) from the DataFramedf
. - Store it in a variable called
result
.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Awesome!
Completion rate improved to 2.7Seksjon 3. Kapittel 13
single