NetworkX

Previous topic

networkx.utils.scipy_uniform_sequence

Next topic

License

networkx.utils.scipy_discrete_sequence

scipy_discrete_sequence(n, distribution=False)

Return sample sequence of length n from a given discrete distribution

distribution=histogram of values, will be normalized