[Numpy-discussion] making "low" optional in numpy.randint

Alan Isaac alan.isaac at gmail.com
Wed Feb 17 19:08:08 EST 2016


On 2/17/2016 7:01 PM, Juan Nunez-Iglesias wrote:
> Notice the limitation "1D array-like".


http://docs.scipy.org/doc/numpy-1.10.0/reference/generated/numpy.random.choice.html
"If an int, the random sample is generated as if a was np.arange(n)"

hth,
Alan Isaac




More information about the NumPy-Discussion mailing list