random.Categorical function

Draw a random sample from a Categorical distribution