numpy.random has the following function to generate multinomial random samples.
multinomial(n, p, size)
But I wonder if there is an e