Contenido del Curso
Analyzing and Visualizing Real-World Data
Analyzing and Visualizing Real-World Data
2. Preprocessing Data: Part II
What Holidays are we Considering?
Interesting! We can see that the median revenue for weeks with holidays is greater than for weeks without holidays. Let's find out which holidays are included in the dataset and summarize this information in a table.
So, what holidays do we have? Let's summarize this information in the table.
Dates (in the dataframe) | Holiday |
2010-02-12, 2011-02-11, 2012-02-10 | Super Bowl |
2010-09-10, 2011-09-09, 2012-09-07 | Labor Day |
2010-11-26, 2011-11-25 | Thanksgiving |
2010-12-31, 2011-12-30 | Christmas |
Additionally, according to the result obtained in the previous chapter, we should include one week before Christmas, too.
Dates (in the dataframe) | Holiday |
2010-12-24, 2011-12-23 | 'Pre-Christmas' |
¿Todo estuvo claro?