<｜begin▁of▁sentence｜>### Instruction:
Given a graph with an edge set [(0, 1), (1, 2), (2, 3), (3, 4)], how can you use igraph's write_picklez function to save the graph in a compressed pickle format?
### Response:
import igraph as ig

# Create a graph
edges = [(0, 1), (1, 2), (2, 3), (3, 4)]
g = ig.Graph(edges=edges)

# Save the graph to a compressed pickle file
g.write_picklez('graph_compressed.picklez')
<|EOT|>
