Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Comparing Shops | Visualizing Data
Analyzing and Visualizing Real-World Data
course content

Зміст курсу

Analyzing and Visualizing Real-World Data

Comparing Shops

As you can see, all of these points are related to the 'pre-Christmas' periods, as we noticed before. Now, let's use visualizing tools to compare the revenue for shops. We already know the top 5 selling stores, but are other shops significantly worse? We'll find out using a bar chart.

Завдання

  1. Prepare the data: group the values of the df DataFrame based on the 'Store' column, then select the 'Weekly_Sales' column, calculate sum values across groups, and reset the indexes. Save the result within the data variable.
  2. Initialize a bar plot. Use the 'Store' column values of data for the x-axis, 'Weekly_Sales' for the y-axis, and make bars 'blue'.
  3. Display the plot.

Завдання

  1. Prepare the data: group the values of the df DataFrame based on the 'Store' column, then select the 'Weekly_Sales' column, calculate sum values across groups, and reset the indexes. Save the result within the data variable.
  2. Initialize a bar plot. Use the 'Store' column values of data for the x-axis, 'Weekly_Sales' for the y-axis, and make bars 'blue'.
  3. Display the plot.

Все було зрозуміло?

Секція 4. Розділ 6
toggle bottom row

Comparing Shops

As you can see, all of these points are related to the 'pre-Christmas' periods, as we noticed before. Now, let's use visualizing tools to compare the revenue for shops. We already know the top 5 selling stores, but are other shops significantly worse? We'll find out using a bar chart.

Завдання

  1. Prepare the data: group the values of the df DataFrame based on the 'Store' column, then select the 'Weekly_Sales' column, calculate sum values across groups, and reset the indexes. Save the result within the data variable.
  2. Initialize a bar plot. Use the 'Store' column values of data for the x-axis, 'Weekly_Sales' for the y-axis, and make bars 'blue'.
  3. Display the plot.

Завдання

  1. Prepare the data: group the values of the df DataFrame based on the 'Store' column, then select the 'Weekly_Sales' column, calculate sum values across groups, and reset the indexes. Save the result within the data variable.
  2. Initialize a bar plot. Use the 'Store' column values of data for the x-axis, 'Weekly_Sales' for the y-axis, and make bars 'blue'.
  3. Display the plot.

Все було зрозуміло?

Секція 4. Розділ 6
toggle bottom row

Comparing Shops

As you can see, all of these points are related to the 'pre-Christmas' periods, as we noticed before. Now, let's use visualizing tools to compare the revenue for shops. We already know the top 5 selling stores, but are other shops significantly worse? We'll find out using a bar chart.

Завдання

  1. Prepare the data: group the values of the df DataFrame based on the 'Store' column, then select the 'Weekly_Sales' column, calculate sum values across groups, and reset the indexes. Save the result within the data variable.
  2. Initialize a bar plot. Use the 'Store' column values of data for the x-axis, 'Weekly_Sales' for the y-axis, and make bars 'blue'.
  3. Display the plot.

Завдання

  1. Prepare the data: group the values of the df DataFrame based on the 'Store' column, then select the 'Weekly_Sales' column, calculate sum values across groups, and reset the indexes. Save the result within the data variable.
  2. Initialize a bar plot. Use the 'Store' column values of data for the x-axis, 'Weekly_Sales' for the y-axis, and make bars 'blue'.
  3. Display the plot.

Все було зрозуміло?

As you can see, all of these points are related to the 'pre-Christmas' periods, as we noticed before. Now, let's use visualizing tools to compare the revenue for shops. We already know the top 5 selling stores, but are other shops significantly worse? We'll find out using a bar chart.

Завдання

  1. Prepare the data: group the values of the df DataFrame based on the 'Store' column, then select the 'Weekly_Sales' column, calculate sum values across groups, and reset the indexes. Save the result within the data variable.
  2. Initialize a bar plot. Use the 'Store' column values of data for the x-axis, 'Weekly_Sales' for the y-axis, and make bars 'blue'.
  3. Display the plot.

Секція 4. Розділ 6
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt