title: Convert dtype from int64 to int32
body: <p>Basically, I am using python x32 bit to load from file a list object containing several numpy arrays (previously saved inside a pickle using python x64).</p>
  
  <p>I can load them properly and check the contents but I cannot use them. </p>
  
  <pre><code>TypeError: Cannot cast array data from dtype('int64') to dtype('int32')
  </code></pre>
  
  <p>How can I convert the arrays element type from within the list to int32 so I can use them with python x32.</p>
  
  <p>The error comes when I try to execute the following part:</p>
  
  <pre><code>a=np.bincount(np.hstack(data['Y']))
  </code></pre>
  
  <p>Looking at what is inside <code>data['Y']</code>
  <img src="https://i.stack.imgur.com/4uqac.png" alt="enter image description here"></p>