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

Pyyhkäise näyttääksesi valikon

book
Task: Extracting the Total Profit

Tehtävä

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.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 3. Luku 8
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?

Kysy tekoälyä

expand
ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

book
Task: Extracting the Total Profit

Tehtävä

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.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 3. Luku 8
Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?
some-alt