print(resultList)
for i, item in enumerate(resultList):
    if item[0] is not None:
        continue
if i == 0 or i + 1 == len(resultList):
    continue
prev_item = resultList[i - 1][-1]
next_item = resultList[i + 1][0]
difference = next_item - prev_item
item_length = len(item) + 1
for j, none_item in enumerate(item):
    item[j] = prev_item + float(j + 1) / item_length * difference
resultList = [item for sublist in resultList for item in sublist]
print(resultList)
Самый эффективный способ найти соседей в списке