Summary and Setup

This lesson was built with The Carpentries Workbench.

Package Installation


To install the networkx package, run the following command on terminal.

pip install networkx==2.8.8

Note: The newer version (3.0) of this package has depreciated some of the functions being used in the lesson. The newer functions needs to be fully tested before update. Therefore, its recommnded to use the version 2.8.8.

Data Sets


Please download the data zip file and unzip it to your Desktop. It contains:

The code assumes a path to the data files as ‘data/…’ or ‘data\...’, respectively. To use this path, please create a subfolder called ‘data’ in your current directory and put the data files in it.