Task: Extracting the Total Profit
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 Paid
column from thedf
and store it in a new variable calledamounts
.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 3. ChapterΒ 8