Task: Access Sales Data at Café Pandasia - Part 3
Uppgift
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
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 13