<｜begin▁of▁sentence｜>### Instruction:
Given a graph with edges defined as [(0, 1), (1, 2), (2, 3), (3, 0), (2, 4)], can you use the CohesiveBlocks.parent function in igraph to determine the parent group index of a specific group within a CohesiveBlocks structure?
### Response:
from igraph import Graph
from igraph.clustering import CohesiveBlocks

# Create an example graph
g = Graph(edges=[(0, 1), (1, 2), (2, 3), (3, 0), (2, 4)])

# Find the cohesive blocks in the graph
cohesive_blocks = CohesiveBlocks(g)

# Get the cohesive blocks structure
blocks = cohesive_blocks.blocks

# Get the parent of a specific block
block_index = 1  # assuming this index is within the range of blocks
parent_index = cohesive_blocks.parent(block_index)

print(f'The parent of block {block_index} is: {parent_index}')
<|EOT|>
