Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Task: Access Sales Data at Café Pandasia - Part 3 | Fetching Data from DataFrames
Pandas: First Steps

bookTask: Access Sales Data at Café Pandasia - Part 3

Opgave

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" across Monday and Tuesday (only those two days, only those two drinks) from the DataFrame df.
  • Store it in a variable called result.

Løsning

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 13
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

close

Awesome!

Completion rate improved to 2.7

bookTask: Access Sales Data at Café Pandasia - Part 3

Stryg for at vise menuen

Opgave

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" across Monday and Tuesday (only those two days, only those two drinks) from the DataFrame df.
  • Store it in a variable called result.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

close

Awesome!

Completion rate improved to 2.7
Sektion 3. Kapitel 13
single

single

some-alt