This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients mark.dickinson, rhettinger, tim.peters
Date 2020-05-07.11:34:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588851298.4.0.244084550115.issue40541@roundup.psfhosted.org>
In-reply-to
Content
+1 for the functionality.

How about "counts" instead of "weights"?

I found the name "weights" misleading - my first thought was that this would be doing a weighted sampling without replacement (like NumPy's `random.choice(..., replace=False, p=weights)`).

Of course, now I've read the docs, I know better.
History
Date User Action Args
2020-05-07 11:34:58mark.dickinsonsetrecipients: + mark.dickinson, tim.peters, rhettinger
2020-05-07 11:34:58mark.dickinsonsetmessageid: <1588851298.4.0.244084550115.issue40541@roundup.psfhosted.org>
2020-05-07 11:34:58mark.dickinsonlinkissue40541 messages
2020-05-07 11:34:58mark.dickinsoncreate