title: ValueError: setting an array element with a sequence on numpy array
body: <p>This is a simple example of the big array</p>
  
  <pre><code>   x = [[[1,2,3], "abs"], [[1,2,3], "abs"]]
     y = np.array(x)
     z = y[:, 0]
     z.astype('int') # This will throw an error
  </code></pre>
  
  <p><strong>Output</strong></p>
  
  <blockquote>
    <p>z >> Out[9]: array([list([1, 2, 3]), list([1, 2, 3])], dtype=object)</p>
  </blockquote>
  
  <p>is there any way I can convert this from object to int without doing iteration over list x</p>