top of page
Writer's pictureQuang Nguyen

TV Series Heat Map

Have you ever started watching a tv show and after a few episodes you wonder if it gets better or is this just a really bad show? You're not sure if you want to risk committing more of your precious time to see if the show gets better. This has happened to me recently with Parks and Rec. I watched the first few episodes and thought it was a worse version of The Office. A few of my friends told me it gets better and to hang in there. I figured why not just scrape IMDB for episode ratings and see if it does get better.


I found some code online and added some minor adjustments, the code outputs a heat map of the tv show's IMDB ratings. The code uses Beautiful Soup for scraping and Seaborn to create the heat map. I also took the data frame and appended the seasons to create a quick line graph to see if there's an upward or downward trend. In this case for Parks & Rec we see Season 1 has pretty low ratings compared to the other seasons, so my friends were right and I should keep watching the show since it does get better.


Here are a few other heat maps of shows:







Cover Photo: GQ

留言


bottom of page