Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Comparing Dynamics | Visualizing Data
Analyzing and Visualizing Real-World Data

Svep för att visa menyn

book
Comparing Dynamics

Returning to the previous section, you solved the problem of finding the most profitable stores. According to the data, these stores are numbered 20, 4, 14, 13, and 2 (the numbers are saved in the top_stores variable). Let's examine the sales dynamics of these stores.

Uppgift

Swipe to start coding

  1. Prepare the data for visualization: filter the values in the df so that only data for stores with the numbers present in the top_stores list remain. Save the resulting data in the data variable.
  2. Initialize a line plot with dates on the x-axis, weekly sales on the y-axis, using the data dataframe. Display a separate line for each store.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 4. Kapitel 2
Vi beklagar att något gick fel. Vad hände?

Fråga AI

expand
ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

book
Comparing Dynamics

Returning to the previous section, you solved the problem of finding the most profitable stores. According to the data, these stores are numbered 20, 4, 14, 13, and 2 (the numbers are saved in the top_stores variable). Let's examine the sales dynamics of these stores.

Uppgift

Swipe to start coding

  1. Prepare the data for visualization: filter the values in the df so that only data for stores with the numbers present in the top_stores list remain. Save the resulting data in the data variable.
  2. Initialize a line plot with dates on the x-axis, weekly sales on the y-axis, using the data dataframe. Display a separate line for each store.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 4. Kapitel 2
Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Vi beklagar att något gick fel. Vad hände?
some-alt