[Numpy-discussion] numpy.random.rand function doesn't take tuple

Alan G Isaac aisaac at american.edu
Mon Aug 21 14:14:20 CDT 2006

On Mon, 21 Aug 2006, David Grant apparently wrote: 
> I was a bit surprised today to find that numpy.random.rand 
> doesn't take in a tuple as input for the dimensions of the 
> desired array. I am very used to using a tuple for zeros, 
> ones. Also, wouldn't this mean that it would not be 
> possible to add other non-keyword arguments to rand later? 

You will find a long discussion of this in the archives.

Alan Isaac

PS Thank you for improving the average predictive accuracy 
of economists.  (You'll understand when you read the thread.)

More information about the Numpy-discussion mailing list