NetworkX

Previous topic

discrete_sequence

Next topic

zipf_rv

zipf_sequence

zipf_sequence(n, alpha=2.0, xmin=1)[source]

Return a sample sequence of length n from a Zipf distribution with exponent parameter alpha and minimum value xmin.

See also

zipf_rv