Conteúdo do Curso
Analyzing and Visualizing Real-World Data
Analyzing and Visualizing Real-World Data
Holidays 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.
Tarefa
- Group the values of the
df
dataframe by the'Holiday_Flag'
column. - Select the
'Weekly_Sales'
column. - Calculate the median values across the groups.
Obrigado pelo seu feedback!
Holidays 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.
Tarefa
- Group the values of the
df
dataframe by the'Holiday_Flag'
column. - Select the
'Weekly_Sales'
column. - Calculate the median values across the groups.
Obrigado pelo seu feedback!
Holidays 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.
Tarefa
- Group the values of the
df
dataframe by the'Holiday_Flag'
column. - Select the
'Weekly_Sales'
column. - Calculate the median values across the groups.
Obrigado pelo seu feedback!
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.
Tarefa
- Group the values of the
df
dataframe by the'Holiday_Flag'
column. - Select the
'Weekly_Sales'
column. - Calculate the median values across the groups.