<｜begin▁of▁sentence｜>### Instruction:
As a speechwriter, crafting impactful messages for political leaders, executives, or public figures, imagine you're preparing a presentation for a renowned urban planner, Dr. Ellis, who's leading a discussion on community connectivity. To enrich her talk, Dr. Ellis requests statistical insights on the social fabric of neighborhoods, particularly regarding how social connections form within them. You've gathered data on neighborhood networks, represented by a graph stored in 'network.gml'. Dr. Ellis desires an analysis of triad formations within these networks, which are indicative of local social structures. To fulfill her request, you plan to utilize the igraph API to compute and visualize the triad census of the network.
### Response:
import igraph as ig

# Load a graph (assuming 'network.gml' is a graph in GML format)
g = ig.read('network.gml')

# Calculate triad census
triad_census = g.triad_census()

# Print the triad census result
print(triad_census)
<|EOT|>
