random number generator python normal distribution code example
Example 1: python random from normal distribution
>>> mu, sigma = 0, 0.1 # mean and standard deviation
>>> s = np.random.normal(mu, sigma, 1000)
Example 2: how to generate random normal number in python
from scipy.stats import norm
data = norm.rvs(loc=52, scale=4.5, size=100)