<｜begin▁of▁sentence｜>### Instruction:
Given a graph with an edge set [(0, 1), (1, 2), (2, 3)], how can you get the size of each vertex in the graph using igraph's VertexCollection.get_sizes method?
### Response:
import igraph as ig

g = ig.Graph(edges=[(0, 1), (1, 2), (2, 3)])
vertex_sizes = g.vs.get_sizes()
print('Vertex sizes:', vertex_sizes)
<|EOT|>
