Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: Analyze Profit Trends | Analyzing Financial Data
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Python for Accountants

bookChallenge: Analyze Profit Trends

Tehtävä

Swipe to start coding

Given a CSV file containing columns for Month, Revenue, and Expenses, your goal is to analyze monthly profit trends for a fictional company.

  • Calculate the monthly profit by subtracting the Expenses column from the Revenue column for each row.
  • Compute a 3-month moving average of the monthly profit, with at least one period required for calculation.
  • Plot both the monthly profit and its 3-month moving average on a line chart, labeling each line appropriately.
  • The x-axis should represent the Month column, and the y-axis should represent profit.

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 5
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

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

Suggested prompts:

Can you explain this in simpler terms?

What are the next steps I should take?

Can you provide an example?

close

bookChallenge: Analyze Profit Trends

Pyyhkäise näyttääksesi valikon

Tehtävä

Swipe to start coding

Given a CSV file containing columns for Month, Revenue, and Expenses, your goal is to analyze monthly profit trends for a fictional company.

  • Calculate the monthly profit by subtracting the Expenses column from the Revenue column for each row.
  • Compute a 3-month moving average of the monthly profit, with at least one period required for calculation.
  • Plot both the monthly profit and its 3-month moving average on a line chart, labeling each line appropriately.
  • The x-axis should represent the Month column, and the y-axis should represent profit.

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 2. Luku 5
single

single

some-alt