Task: Extracting the Total Profit
Opgave
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 alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 8