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
Practice
Projects
Quizzes & Challenges
Visat
Challenges
/
Pandas: First Steps
Osio 3. Luku 8
single

single

bookTask: Extracting the Total Profit

Pyyhkäise näyttääksesi valikon

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
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

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

some-alt