title: Converting a list of tuples to an array or other structure that allows easy slicing
body: <p>Using list comprehension I have created a list of tuples which looks like</p>
  
  <pre><code>temp = [(1, 0, 1, 0, 2), (1, 0, 1, 0, 5), (1, 0, 2, 0, 2), (1, 0, 2, 0, 5)]
  </code></pre>
  
  <p>I could also create a list of lists if that works easier.</p>
  
  <p>Either way, I would now like to get an array, or a 2D list, from the data. Something where I can easily access the value of the first element in each tuple in the above using slicing, something like</p>
  
  <pre><code>first_elements = temp[:,0]
  </code></pre>