title: Python: How do I fill an array with a range of numbers?
body: <p>So I have an array of 100 elements:</p>
  
  <pre><code>a = np.empty(100)
  </code></pre>
  
  <p>How do I fill it with a range of numbers? I want something like this:</p>
  
  <pre><code>b = a.fill(np.arange(1, 4, 0.25))
  </code></pre>
  
  <p>So I want it to keep filling <code>a</code> with that values of that range on and on until it reaches the size of it</p>
  
  <p>Thanks</p>