If a project is importing Numpy, what are the advantages in using Numpy's random versus Python's?
https://docs.scipy.org/doc/numpy/reference/routines.random.html
If a project is importing Numpy, what are the advantages in using Numpy's random versus Python's?
https://docs.scipy.org/doc/numpy/reference/routines.random.html
numpy.randomis designed to work with and returnnumpy.ndarrays. if you are usingnumpythe it is the natural choice