I have an array (150,40) that looks like:
list_of_lists= ['name_1' 0.0123
'name_2' 0.1234
... 'name_40' 0.213241
Name: 2015-03-26 16:02:42.117000, dtype: float64,
and so on, 149 more ]
I have two questions:
The 40 names are all the same for all 150 lists, how can I convert these to the columns of an array, and the values (whcih differ across all 150 lists) to rows corresponding to each column name ? Example:
array= [ 'name_1', 'name_2',... 'name_40
0.0123, 0.1234, 0.213241]
Second, the Name: 2015-03-26 16:02:42.117000 is actually a timestamp, and I would need this to be the 0 column, with 150 rows
like:
array= [ 'timestamp' 'name_1', 'name_2',... 'name_40
16:02:42.117000 0.0123, 0.1234, 0.213241]
I have no clue why the timestamp is the Name of the list in the first place And I have no idea how to convert this to an array for further processing