concept randint in category pandas

appears as: rdint
Pandas in Action

This is an excerpt from Manning's book Pandas in Action.

The data parameter of the Series constructor also accepts a ndarray object as its argument. In the example below, we use the randint method to generate a 1-dimensional array of 10 random values between 1 and 101.

The randint function is ideal for generating one or more random numbers. With a single argument, it returns a random integer from 0 up to the value. The example below will return a value between 0 and 4.