Section 3. Chapter 8
single
Task: Extracting the Total Profit
Swipe to show menu
Task
Swipe to start coding
It's the end of the day at the Café and the manager wants to know the total profit of the sales today.
You've been given the sales data in the form of the DataFrame df.
- Extract the
Amount Paidcolumn from thedfand store it in a new variable calledamounts.
Solution
Everything was clear?
Thanks for your feedback!
Section 3. Chapter 8
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat