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

Contenido del Curso

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

bookHolidays Effect

The result of the previous chapter is quite interesting! It turns out that the top 10 combinations of store and week with the highest sales are during the last but one week of December! What could be the reason for this? Perhaps the upcoming Christmas - people start preparing for the holiday, buying gifts, and so on.

There is a column called 'Holiday_Flag' with only 2 possible values: 1 if the week contains a major holiday, and 0 if it does not. Let's compare the median sales for weeks with and without holidays.

Tarea
test

Swipe to show code editor

  1. Group the values of the df dataframe by the 'Holiday_Flag' column.
  2. Select the 'Weekly_Sales' column.
  3. Calculate the median values across the groups.

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 3. Capítulo 7
toggle bottom row

bookHolidays Effect

The result of the previous chapter is quite interesting! It turns out that the top 10 combinations of store and week with the highest sales are during the last but one week of December! What could be the reason for this? Perhaps the upcoming Christmas - people start preparing for the holiday, buying gifts, and so on.

There is a column called 'Holiday_Flag' with only 2 possible values: 1 if the week contains a major holiday, and 0 if it does not. Let's compare the median sales for weeks with and without holidays.

Tarea
test

Swipe to show code editor

  1. Group the values of the df dataframe by the 'Holiday_Flag' column.
  2. Select the 'Weekly_Sales' column.
  3. Calculate the median values across the groups.

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 3. Capítulo 7
toggle bottom row

bookHolidays Effect

The result of the previous chapter is quite interesting! It turns out that the top 10 combinations of store and week with the highest sales are during the last but one week of December! What could be the reason for this? Perhaps the upcoming Christmas - people start preparing for the holiday, buying gifts, and so on.

There is a column called 'Holiday_Flag' with only 2 possible values: 1 if the week contains a major holiday, and 0 if it does not. Let's compare the median sales for weeks with and without holidays.

Tarea
test

Swipe to show code editor

  1. Group the values of the df dataframe by the 'Holiday_Flag' column.
  2. Select the 'Weekly_Sales' column.
  3. Calculate the median values across the groups.

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

The result of the previous chapter is quite interesting! It turns out that the top 10 combinations of store and week with the highest sales are during the last but one week of December! What could be the reason for this? Perhaps the upcoming Christmas - people start preparing for the holiday, buying gifts, and so on.

There is a column called 'Holiday_Flag' with only 2 possible values: 1 if the week contains a major holiday, and 0 if it does not. Let's compare the median sales for weeks with and without holidays.

Tarea
test

Swipe to show code editor

  1. Group the values of the df dataframe by the 'Holiday_Flag' column.
  2. Select the 'Weekly_Sales' column.
  3. Calculate the median values across the groups.

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
Sección 3. Capítulo 7
Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
We're sorry to hear that something went wrong. What happened?
some-alt