<｜begin▁of▁sentence｜>### Instruction:
Given an .ncol file named 'network_data.ncol' that contains a list of undirected edges with named vertices and possibly weights, can you use the Read_Ncol function in igraph to create and summarize the corresponding graph?
### Response:
import igraph as ig

# Read from a file called 'network_data.ncol'
g = ig.Graph.Read_Ncol('network_data.ncol', names=True, weights='if_present', directed=False)

# Print summary of the graph to check
print(g.summary())
<|EOT|>
