Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære The Most Profitable Periods | Analyzing Data
Analyzing and Visualizing Real-World Data
course content

Kursinnhold

Analyzing and Visualizing Real-World Data

Analyzing and Visualizing Real-World Data

1. Preprocessing Data: Part I
2. Preprocessing Data: Part II
3. Analyzing Data
4. Visualizing Data

book
The Most Profitable Periods

Good, now we know that the given data are weekly. Let's find out what weeks were the most profitable by comparing the total for each week.

Oppgave

Swipe to start coding

  1. Group the observations in the df dataframe by the 'Date' column values.
  2. Select the 'Weekly_Sales' column.
  3. Calculate the total (sum) for each group.
  4. Sort values in descending order (not ascending).

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 3. Kapittel 5
toggle bottom row

book
The Most Profitable Periods

Good, now we know that the given data are weekly. Let's find out what weeks were the most profitable by comparing the total for each week.

Oppgave

Swipe to start coding

  1. Group the observations in the df dataframe by the 'Date' column values.
  2. Select the 'Weekly_Sales' column.
  3. Calculate the total (sum) for each group.
  4. Sort values in descending order (not ascending).

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 3. Kapittel 5
Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Vi beklager at noe gikk galt. Hva skjedde?
some-alt