Seksjon 2. Kapittel 6
single
Task: Finding Total Sales Per Drink
Sveip for å vise menyen
Oppgave
Swipe to start coding
At Café Pandasia, the manager wants to track the total sales for each coffee drink
You’ve been given a DataFrame that tracks the sales of three drinks across three days (Monday to Wednesday), and now you need to add a new column called Total Sales to the DataFrame.
- Add a new column called
Total Salestodf. Total Salesshould contain the sum of the sales from Monday to Wednesday for each drink.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 6
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