Task: Extracting the Total Profit
Aufgabe
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ösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 3. Kapitel 8