<｜begin▁of▁sentence｜>### Instruction:
Given a graph which you can read from network_data.gml, can you use the eigenvector_centrality function in igraph to calculate the eigenvector centralities of the vertices in the graph? Notes: You need to print the eigenvector centralities.
### Response:
from igraph import Graph
import igraph as ig

g = ig.read('network_data.gml')

# Calculate eigenvector centrality
eigenvector_cent = g.eigenvector_centrality()
print(eigenvector_cent)
<|EOT|>
