[Numpy-discussion] argument handling by uniform

Alan G Isaac alan.isaac at gmail.com
Fri Mar 13 11:57:00 EDT 2015

Today I accidentally wrote `uni = np.random.uniform((-0.5,0.5),201)`,
supply a tuple instead of separate low and high values.  This gave
me two draws (from [0..201] I think).  My question: how were the
arguments interpreted?

Alan Isaac

More information about the NumPy-Discussion mailing list