<｜begin▁of▁sentence｜>### Instruction:
As a safety consultant, when evaluating workplace hazards and risks, I understand the importance of calculating the global transitivity (clustering coefficient) of the network that represents the interactions between employees. Using the transitivity_undirected function in igraph, I can calculate the clustering coefficient to analyze the overall connectedness and clustering of the network, which in turn can inform the development of safety protocols and training to prevent accidents and injuries in the occupational setting.
### Response:
from igraph import Graph

# Create an instance of a Graph
g = Graph.Famous('Zachary')

# Calculate the global transitivity aka clustering coefficient
transitivity = g.transitivity_undirected()

print('Global transitivity (Clustering Coefficient):', transitivity)
<|EOT|>
