Maybe use qualified identifiers here (`scipy.stats.randint`), as `randint` is also a `numpy.random` function.