title: Converting a list of ints, tuples into an numpy array
body: <p>I have a list of [float, (float,float,float..) ] ... Which is basically an n-dimensional point along with a fitness value for each point. 
  For eg. </p>
  
  <pre><code>4.3, (2,3,4)
  3.2, (1,3,5)
  .
  .
  48.2, (23,1,32)
  </code></pre>
  
  <p>I wish to randomly sample one point based upon the fitness values. I decided the best way to do this would be to use <code>numpy.random.choice(range(n), 1, plist[:,:1,:1])</code> </p>
  
  <p>However, i need to convert this into an numpy array, for which i tried</p>
  
  <pre><code>&gt;&gt; pArr = np.array( plist ) 
  ValueError: setting an array element with a sequence
  </code></pre>
  
  <p>I got the same error for np.asarray(plist) as well.. any suggestions??</p>