It\'s the first time I use igraph in order to find the partitions in a given graph G:
InitialPartition = louvain.find_partition(G, louvain.ModularityVertexPar