A network is created with all municipalities each state from Mexico.
Only open the google colab file and follow the indications.
The data used is download from INEGI portal
http://internet.contenidos.inegi.org.mx/contenidos/Productos/prod_serv/contenidos/espanol/bvinegi/productos/geografia/marcogeo/889463142683_s.zip
that the last update is from 2017.
The result is a Networkx graph and to visualize the network I use Plotly module.
Remember that Mexico country has 32 states. By the moment this colab only produces a network by one execution.
Gets all state networks by one execution.
Python 3