Restructuring Array of Tuples
<p>I have an array of tuples of tuples where the second level should not be a tuple and I want to convert it all to something like a 2-d array. 
Is there a quick way to restructure from this messy 1-d to a nice clean 2-d or structured array?</p>

<p>Note: These tuples <strong>do</strong> contain various types. I would like to be able to transpose and 2-d slice etc.. this data.  </p>

<p>ie...</p>

<pre><code>[((1,-4,7.0),)
((2,-5,8.0),)
((3,-6,9.0),)]
</code></pre>

<p><em>Edited to try and accommodate issues people pointed out with the original question</em> </p>

<p>You can use <a href="http://docs.scipy.org/doc/numpy/reference/generated/numpy.squeeze.html" rel="nofollow">np.squeeze</a></p>

<p><code>np.squeeze(&lt;your array&gt;)</code></p>

python arrays numpy dimensions