title: Remove Decimals from Array
body: <p>I have 2 arrays containing zeros &amp; ones. I want to perform hstack() on them but not getting the desired output.</p>
  
  <p>Python Code..</p>
  
  <pre><code> import numpy as np
   zeros = np.zeros(8)
   ones = np.ones(8)
   zerosThenOnes = np.hstack((zeros, ones))   # A 1 by 16 array
  </code></pre>
  
  <p>Current Output..</p>
  
  <pre><code> [ 0.  0.  0.  0.  0.  0.  0.  0.  1.  1.  1.  1.  1.  1.  1.  1.]
  </code></pre>
  
  <p>Expected Output..</p>
  
  <pre><code> [ 0   0   0   0   0   0   0   0   1   1   1   1   1   1   1   1 ]
  </code></pre>
  
  <p>I can't understand what silly mistake I'm doing. </p>