<｜begin▁of▁sentence｜>### Instruction:
Given a social network represented as an igraph Graph object, how can you determine the maximum cohesion score for each individual within their community structures?
### Response:
from igraph import Graph, CohesiveBlocks

# Assume 'G' is an igraph Graph object
# First, compute cohesive blocks
blocks = CohesiveBlocks(G)
blocks = blocks.clusters()

# Now, use max_cohesions method to get the maximum cohesion score of each vertex
max_coh_scores = blocks.max_cohesions()

# Print the maximum cohesion scores for each vertex
print(max_coh_scores)
<|EOT|>
