JGuizard
6/12/2016 - 3:49 PM

Random number in python with Numpy

Random number in python with Numpy

import numpy as np

x = np.random.randn(1000000)
#or
x = np.random.rand(1000000)