zipf_rv
weighted_choice
Enter search terms or a module, class or function name.
Return k items without replacement from a weighted sample.
The input is a dictionary of items with weights as values.