Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Task: Extracting the Total Profit | Fetching Data from DataFrames
Pandas: First Steps

Stryg for at vise menuen

book
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 the df and store it in a new variable called amounts.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 8
Vi beklager, at noget gik galt. Hvad skete der?

Spørg AI

expand
ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

book
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 the df and store it in a new variable called amounts.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 8
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Vi beklager, at noget gik galt. Hvad skete der?
some-alt