mosaicmpi.network.Network.get_vectorized_community_sort_key#
- Network.get_vectorized_community_sort_key(community_names: Index) Index#
Return a vector of sort_indicesGet community names, ordered numerically after separating clusters and subclusters. For example, this algorithm can properly sort communities labelled 1.1, 1.2, 1.3, 2.1, 2.2, 2.10, 2.15.
- Returns:
sort indices
- Return type:
pd.Index