Task: Extracting the Total Profit
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 8
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Suggested prompts:
Oppsummer dette kapittelet
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 2.7
Task: Extracting the Total Profit
Sveip for å vise menyen
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Awesome!
Completion rate improved to 2.7Seksjon 3. Kapittel 8
single