from arcgis import GIS
from arcgis.features import GeoAccessor
import pandas as pd
gis = GIS()
%matplotlib inline
#Read in the shapefile
sdf_SubNets = GeoAccessor.from_featureclass('./Data/Subgraphs.shp')
sdf = sdf_SubNets.iloc[:10]
sdf1 = sdf_SubNets.loc[sdf_SubNets.subgraph_i == 0]
sdf1.spatial.plot()
MapView(layout=Layout(height='400px', width='100%'))