Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Task: Extracting the Total Profit | Fetching Data from DataFrames
Practice
Projects
Quizzes & Challenges
Quiz
Challenges
/
Pandas: First Steps
Section 3. Chapitre 8
single

single

bookTask: Extracting the Total Profit

Glissez pour afficher le menu

Tâche

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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 8
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

some-alt