This is documentation for an old release of SciPy (version 0.9.0). Read this page Search for this page in the documentation of the latest stable release (version 1.15.1).
scipy.maxentropy.maxentutils.sample_wr
-
scipy.maxentropy.maxentutils.sample_wr(population, k)
Chooses k random elements (with replacement) from a population.
(From the Python Cookbook).