I get an array form a csv file and I get an list that looks like
my_list = ["Nov '15", '75', '49', '124', '62', '18', '80', '64.5', '', '', '', '', '', '', '', '']
And now I want to fill the spots where there is '' with an array of items that is that length, lets say the array I want to put in there is
new_array = [1,2,3,4,5,6,7,8]
here is what I am trying but it doesn't work.
i = 0
for item in new_array:
index = 8+i
print item
my_list.insert(index, item)
i += 0
It doesn't change anything my_list is just the same?
How can I change this?
Thanks
''always start at index 8?