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

Зміст курсу

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

bookAdding Holidays to Comparison

As we can see, there are different shops in the dataset, and their revenues vary significantly - we have shops with total revenue of about 50 million, and at the same time shops with total revenue of more than 250 million. Let's see whether earnings differ depending on whether it is a holiday week or not.

Завдання

You are going to work with nearly the same code as in the previous task. You just need to modify certain things:

  1. Group the values of the df DataFrame by 'Store', and then 'Holiday_Flag' column (the order is important). Then, after selecting the 'Weekly_Sales' column, compute the mean values.
  2. Within the .barplot() function, set the parameter, so that there will be separate bars for each of the unique values of the 'Holiday_Flag' column.

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

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

bookAdding Holidays to Comparison

As we can see, there are different shops in the dataset, and their revenues vary significantly - we have shops with total revenue of about 50 million, and at the same time shops with total revenue of more than 250 million. Let's see whether earnings differ depending on whether it is a holiday week or not.

Завдання

You are going to work with nearly the same code as in the previous task. You just need to modify certain things:

  1. Group the values of the df DataFrame by 'Store', and then 'Holiday_Flag' column (the order is important). Then, after selecting the 'Weekly_Sales' column, compute the mean values.
  2. Within the .barplot() function, set the parameter, so that there will be separate bars for each of the unique values of the 'Holiday_Flag' column.

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

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

bookAdding Holidays to Comparison

As we can see, there are different shops in the dataset, and their revenues vary significantly - we have shops with total revenue of about 50 million, and at the same time shops with total revenue of more than 250 million. Let's see whether earnings differ depending on whether it is a holiday week or not.

Завдання

You are going to work with nearly the same code as in the previous task. You just need to modify certain things:

  1. Group the values of the df DataFrame by 'Store', and then 'Holiday_Flag' column (the order is important). Then, after selecting the 'Weekly_Sales' column, compute the mean values.
  2. Within the .barplot() function, set the parameter, so that there will be separate bars for each of the unique values of the 'Holiday_Flag' column.

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

As we can see, there are different shops in the dataset, and their revenues vary significantly - we have shops with total revenue of about 50 million, and at the same time shops with total revenue of more than 250 million. Let's see whether earnings differ depending on whether it is a holiday week or not.

Завдання

You are going to work with nearly the same code as in the previous task. You just need to modify certain things:

  1. Group the values of the df DataFrame by 'Store', and then 'Holiday_Flag' column (the order is important). Then, after selecting the 'Weekly_Sales' column, compute the mean values.
  2. Within the .barplot() function, set the parameter, so that there will be separate bars for each of the unique values of the 'Holiday_Flag' column.

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Секція 4. Розділ 7
Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
some-alt