PyData Seattle 2023

Building an Interactive Network Graph to Understand Communities
04-26, 09:00–10:30 (America/Los_Angeles), Kodiak Theatre

People are hard to understand, developers doubly so! In this tutorial, we will explore how communities form in organizations to develop a better solution than "The Org Chart". We will walk through using a few key Python libraries in the space, develop a toolkit for Clustering Attributed Graphs (more on that later) and build out an extensible interactive dashboard application that promises to take your legacy HR reporting structure to the next level.


In this tutorial, we will develop some fundamental knowledge on Graph Theory and capabilities in using key Python libraries to construct and analyze network graphs, including xarray, networkx, and dash-cytoscape. The goal of this talk is to build the tools you need to launch your own interactive dashboard in Python that can help explore communities of people based on shared characteristics (e.g. programming languages, projects worked on, apps used, management structure). The data we will dig into focuses on building a better understanding of developers + users and how they form communities, but this could just as easily be extended to any social network. The work we do here can be easily extended to your communities and use cases -- let's build something together!

This talk is aimed at Pythonistas with beginner+ experience; we talk through some complex libraries and mathematical concepts, but beginners should be able to follow along and still build their understanding (and an app!)

Check out the tutorial site for info on getting your environment setup (hint: it's super easy) and for the notebooks to follow along


Prior Knowledge Expected

No previous knowledge expected

Lucas Durand (he/him/his) is the Head of Data Science Engineering at TD Securities and the Product Owner for TDS Notebooks, the TD Securities "Data Platform as a Service". Lucas has been with TD for upwards of 7 years as a Quant, Software Engineer, and Data Scientist.

Lucas holds a Master of Science in Theoretical Physics from York University as well as an Honours Bachelor of Science from the University of Toronto. He is a passionate teacher, avid musician, and big advocate for Python as a first-class language in banking.