Task: Finding Total Sales Per Drink
Task
Swipe to start coding
At CafΓ© Pandasia, the manager wants to track the total sales for each coffee drink
Youβve been given a DataFrame that tracks the sales of three drinks across three days (Monday to Wednesday), and now you need to add a new column called Total Sales to the DataFrame.
- Add a new column called
Total Salestodf. Total Salesshould contain the sum of the sales from Monday to Wednesday for each drink.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 6
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 2.7
Task: Finding Total Sales Per Drink
Swipe to show menu
Task
Swipe to start coding
At CafΓ© Pandasia, the manager wants to track the total sales for each coffee drink
Youβve been given a DataFrame that tracks the sales of three drinks across three days (Monday to Wednesday), and now you need to add a new column called Total Sales to the DataFrame.
- Add a new column called
Total Salestodf. Total Salesshould contain the sum of the sales from Monday to Wednesday for each drink.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 6
single