Subscribe now. Save 33% on DataCamp and make data science your superpower.

Offer ends in  days  hrs  mins  secs

Project Description

Jon Snow, Daenerys Targaryen, or Tyrion Lannister? Who is the most important character in Game of Thrones? Let's see what mathematics can tell us about this!

In this project, you will look at the character co-occurrence network and its evolution over the five books in R.R. Martin's hugely popular book series A Song of Ice and Fire (perhaps better known as the TV show Game of Thrones). You will look at how the importance of the characters changes over the books using different centrality measures.

This project assumes you are familiar with the networkx package and different network centrality measures. It also assumes that you have used pandas and can manipulate DataFrames. Before starting this project we recommend that you have completed these courses:

This project uses a dataset parsed by Andrew J. Beveridge and Jie Shan which is available here. For more information on this dataset have a look at the Network of Thrones blog.

Project Tasks

  • 1 Winter is Coming. Let's load the dataset ASAP
  • 2 Time for some Network of Thrones
  • 3 Populate the network with the DataFrame
  • 4 Finding the most important character in Game of Thrones
  • 5 Evolution of importance of characters over the books
  • 6 What's up with Stannis Baratheon?
  • 7 What does the Google PageRank algorithm tell us about Game of Thrones?
  • 8 Correlation between different measures
  • 9 Conclusion
Mridul Seth
Mridul Seth

Data science enthusiast

Mridul is trying to understand the world around us using data and tools from network science, currently at Oxford. He is an open source enthusiast and has been selected for Google Summer of Code, and is involved with NumFOCUS. He has given multiple tutorials at PyCon, PyData, and EuroScipy to share his love of Python and network science.

See More
TECHNOLOGY
  • Python
  • TOPICS
    info