Warning

This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.

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()