比如数组a[1,2,3,4,5,6,7,8,9,8,7,6,5,4,3,2,1,0]我想把a分成6个区间,分别取每个区间的最大值用for 循环怎么写啊。。。for i in range(len(a)/N) idx[i]=np.argmax()#####这种形式的