title: Create an array with a pre determined mean and standard deviation
body: <p>I am attempting to create an array with a predetermined mean and standard deviation value using Numpy. The array needs random numbers within it.</p>
  
  <p>So far I can produce an array and calculate the mean and std. but can not get the array to be controlled by the values: </p>
  
  <pre><code>import numpy as np
  x = np.random.randn(1000)
  print("Average:")
  mean = x.mean()
  print(mean)
  print("Standard deviation:")
  std = x.std()
  print(std)
  </code></pre>
  
  <p>How to control the array values through the mean and std?</p>