I have a file with its contents like this:
1 257.32943114
10 255.07893867
100 247.686049588
1000 248.560238357
101 250.673715233
102 250.150281581
103 247.076694596
104 257.491337952
105 250.804702983
106 252.043717069
107 253.786482488
108 255.588547067
109 251.253294801
...
What I want to do is create an array from this list with the numbers in the first column as index. For example, the 1st element of the array will be 257.32943114 which corresponds to 1 in the list, the 109th element of the array will be 251.253294801 which corresponds to number 109 in the list, and so on. How can I achieve this in Python?
[5]?