networkx.algorithms.mixing.attribute_mixing_matrix
networkx.algorithms.mixing.degree_mixing_dict
Enter search terms or a module, class or function name.
Return mixing matrix for attribute.
G : graph
NetworkX graph object.
normalized : bool (default=False)
Return counts if False or probabilities if True.
m: numpy array :
Counts, or joint probability, of occurrence of node degree.