Мой массив numpy выглядит так:
index_up = [ 71 99 103 ... 24872 24892 24928]
Что мне нужно:
index_up = [ 70 98 102 ... 24871 24891 24927]
Я пробовал это:
for e in index_up:
e = e-1
index_up[e] = e
Но не сработало (index out of bounds
) Есть идеи?Спасибо!