Solved by ptrblck in post #3 
              
              
                The second example yields the same result on my machine. 
Could you make sure to reinitialize b and check the result again? 
The first call raises an error, since you have a dimension mismatch. 
If you expand indices and updates, the code will also return the same values: 
array = np.array([[1,2,3],…