To support our analysis, we built a database of all existing episodes. We gathered their Wiki page and their IMDB rating and ranking as well. Lastly, we linked characters and episodes. Let's briefly see how we proceeded!
We extracted the episodes' list of each season by parsing the "Episodes" section of each season Wiki page with BeautifulSoup (again!). We also collected the Wiki page content of each episode following provided hyperlinks.
We parsed the IMDB Rick and Morty episodes ranking page with BeautifulSoup to collect episodes' rating, ranking and number of votes. Indeed, we plan to analyse the best rated episodes.
Finally we tried to match the characters of our dataframe with the episodes they are involved in. We adapted the code used to extract relations between characters, and we apply it on the "Characters" section of each episode.