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

2
  • see this question Commented Aug 11, 2017 at 19:57
  • 1
    numpy.random is designed to work with and return numpy.ndarrays. if you are using numpy the it is the natural choice Commented Aug 11, 2017 at 20:00

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.