Здесь реализация numpy:
a = np.random.randint(0,100, 10)
a
array([24, 60, 33, 65, 7, 84, 44, 67, 96, 18])
# Compare pairwise and get all pairs min relative index
min_index = np.argmin([a[:-1], a[1:]], axis=0)
min_index
array([0, 1, 0, 1, 0, 1, 0, 0, 1], dtype=int64)
# Pairs (24,60), (60,33), (33,65), and so on..
# Adding index and array location we get the global index of pairs min in the original array
global_min_index = [i+e for i,e in enumerate(min_index_tmp)]
global_min_index
[0, 2, 2, 4, 4, 6, 6, 7, 9]