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.
4.3, (2,3,4)
Your question is difficult to understand. Is this what you're trying to do?
>>> x [[4.3, (2, 3, 4)], [3.2, (1, 3, 5)], [48.2, (23, 1, 32)]] >>> np.array([(a, b, c, d) for a, (b, c, d) in x]) array([[ 4.3, 2. , 3. , 4. ], [ 3.2, 1. , 3. , 5. ], [ 48.2, 23. , 1. , 32. ]])