<｜begin▁of▁sentence｜>### Instruction:
Given a directed graph provided in the file 'network_data.ncol', can you use igraph to determine the in-degree of all nodes and print them in a list?
### Response:
from igraph import Graph

# Load a directed graph
G = Graph.Read_Ncol('network_data.ncol', directed=True)

# Get a list of in-degrees of all nodes
in_degrees = G.indegree()

# Print in-degrees
print(in_degrees)
<|EOT|>
