np random normal code example
Example 1: numpy normal distribution
>>> mu, sigma = 0, 0.1 # mean and standard deviation
>>> s = np.random.normal(mu, sigma, 1000)
Example 2: random normal numpy
import numpy as np
np.random.randn()
>>> mu, sigma = 0, 0.1 # mean and standard deviation
>>> s = np.random.normal(mu, sigma, 1000)
import numpy as np
np.random.randn()