title: 1D numpy concatenate: TypeError: only integer scalar arrays can be converted to a scalar index
body: <p>I want to store numpy array into to another numpy array</p>
  
  <p>I am using <code>np.concatenate</code></p>
  
  <p>This is my code</p>
  
  <pre><code>x=np.concatenate(x,s_x)
  </code></pre>
  
  <p>These are the type and the shape of <code>x and s_x</code></p>
  
  <pre><code>Type of s_x: &lt;class 'numpy.ndarray'&gt;, Shape of s_x: (173,)
  Type of x: &lt;class 'numpy.ndarray'&gt; (0,), Shape of x: (0,)
  </code></pre>
  
  <p>This is the error being displayed</p>
  
  <pre><code>TypeError: only integer scalar arrays can be converted to a scalar index
  </code></pre>