3

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

https://docs.python.org/3/library/random.html

Julian
  • 1,007
  • 1
  • 13
  • 23
  • see this [question](https://stackoverflow.com/questions/7029993/differences-between-numpy-random-and-random-random-in-python) – nos Aug 11 '17 at 19:57
  • 1
    `numpy.random` is designed to work with and return `numpy.ndarray`s. if you are using `numpy` the it is the natural choice – juanpa.arrivillaga Aug 11 '17 at 20:00

0 Answers0