I have got a problem in assigning new value by list.
I want to change 12 items values in s numpy by numpy array\'s index ,and i hope every index i choose is different. s
I'm not totally sure what you're trying to achieve here, but s(i) is your problem: round brackets imply a function call, but s is a numpy array, so this won't work . I think you're trying to index the list, in which case you'd use s[i].
s(i)
s
s[i]