Task: Extracting the Total Profit
Taak
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
.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 3. Hoofdstuk 8