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

Sveip for å vise menyen

book
The Best Combination

Interesting! The most profitable weeks are the second to last weeks of December and November. Now, let's answer the question: What was the best selling week and store? Since our data is already weekly, we won't need to group observations this time.

Oppgave

Swipe to start coding

  1. Select the 'Store', 'Date', and 'Weekly_Sales' columns.
  2. Sort the values of the 'Weekly_Sales' column in descending order (not ascending).
  3. Display the first 10 rows of the obtained dataframe.

Do not worry about syntax, pandas allows splitting methods by lines.

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 6
Vi beklager at noe gikk galt. Hva skjedde?

Spør AI

expand
ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

book
The Best Combination

Interesting! The most profitable weeks are the second to last weeks of December and November. Now, let's answer the question: What was the best selling week and store? Since our data is already weekly, we won't need to group observations this time.

Oppgave

Swipe to start coding

  1. Select the 'Store', 'Date', and 'Weekly_Sales' columns.
  2. Sort the values of the 'Weekly_Sales' column in descending order (not ascending).
  3. Display the first 10 rows of the obtained dataframe.

Do not worry about syntax, pandas allows splitting methods by lines.

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 6
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