title: numpy array in array resize
body: <p>Say I make a weird little array:</p>
  
  <pre><code>&gt;&gt;&gt; a = np.array([[[1,2,3],4],[[4,5,6],5]])
  &gt;&gt;&gt; a
  array([[[1, 2, 3], 4],
         [[4, 5, 6], 5]], dtype=object)
  </code></pre>
  
  <p>And then take a the first column as a slice:</p>
  
  <pre><code>&gt;&gt;&gt; b = a[:,0]
  &gt;&gt;&gt; b
  array([[1, 2, 3], [4, 5, 6]], dtype=object)
  &gt;&gt;&gt; b.shape
  (2,)
  </code></pre>
  
  <p>Say I now want to reshape b so that its shape is (2,3):</p>
  
  <pre><code>&gt;&gt;&gt; b.reshape((-1,3))
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  ValueError: total size of new array must be unchanged
  </code></pre>
  
  <p>I presume that numpy is treating each array in b as an object rather than an array in and of itself. The question is, is there a good way of doing the desired resize?</p>