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

Swipe to show menu

book
Task: Access Sales Data at Café Pandasia - Part 3

Task

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.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 13
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

close

Awesome!

Completion rate improved to 2.7

book
Task: Access Sales Data at Café Pandasia - Part 3

Task

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.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

close

Awesome!

Completion rate improved to 2.7

Swipe to show menu

some-alt