+2

Difference between np.random.rand vs np.random.random?

7/6/2019 5:42:39 PM

Neobby

1 Answer

New Answer

+5

"The only difference is in how the arguments are handled. With numpy.random.rand(), the length of each dimension of the output array is a separate argument. With numpy.random.random(), the shape argument is a single tuple". https://stackoverflow.com/questions/47231852/