title: inserting values into numpy array
body: <p>I am new to python and numpy, coming from a java background.</p>
  
  <p>I want to insert int values into a an array. 
  However my current way of doing it is not resulting in the proper values. 
  I create an array 'a' of size 5, and would like to insert int values into 'a'. </p>
  
  <pre><code>data = ocr['data']
  test_data = ocr['testdata']
  
  a = np.empty(5, dtype=np.int)
  for t in range(0,5):
     np.append(a,np.dot(np.subtract(test_data[t], data[0]), np.subtract(test_data[t], data[d])))
  </code></pre>