Premium project

A Network Analysis of Game of Thrones

Analyze the network of characters in Game of Thrones and how it changes over the course of the books.

Start Project
9 Tasks1,500 XP

Loved by learners at thousands of companies


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 uses a dataset parsed by Andrew J. Beveridge and Jie Shan which is available [here](https://github.com/mathbeveridge/asoiaf). For more information on this dataset have a look at [the Network of Thrones blog](https://networkofthrones.wordpress.com).

Project Tasks

  1. 1
    Winter is Coming. Let's load the dataset ASAP!
  2. 2
    Time for some Network of Thrones
  3. 3
    Populate the network with the DataFrame
  4. 4
    The most important character in Game of Thrones
  5. 5
    The evolution of character importance
  6. 6
    What's up with Stannis Baratheon?
  7. 7
    What does Google PageRank tell us about GoT?
  8. 8
    Correlation between different measures
  9. 9
    Conclusion
Technologies
Python Python
Topics
Case Studies
Mridul Seth Headshot

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

What do other learners have to say?

I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.

Devon Edwards Joseph
Lloyds Banking Group

DataCamp is the top resource I recommend for learning data science.

Louis Maiden
Harvard Business School

DataCamp is by far my favorite website to learn from.

Ronald Bowers
Decision Science Analytics, USAA