I want to implement the cumulative distribution for a graph. Here is my code:
g = nx.read_edgelist(\'graph\', create_using= nx.Graph(), nodetype=int) degree_s