title: How to store int values in numpy.empty array?
body: <p>As the following code shows, <code>empty</code> array replaces my int values with float ones. How can I prevent this?</p>
  
  <pre><code>import numpy as np
  a=np.empty(3)
  a[0]=1
  a[1]=2
  a[2]=3
  print a
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>[1., 2., 3.]
  </code></pre>