Task: Extracting the Total Profit
Uppgift
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
.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 8
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Suggested prompts:
Sammanfatta detta kapitel
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 2.7
Task: Extracting the Total Profit
Svep för att visa menyn
Uppgift
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
.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Awesome!
Completion rate improved to 2.7Avsnitt 3. Kapitel 8
single