I have two arrays:
array1 = [[3,7,2],
[1,4,5],
[9,8,7]]
array2 = [[0,1,0],
[1,0,0],
[1,0,1]]
I like to get numpy.sum(array1), but only where array2==0
So in the end I like to have a value of 22 (3+2+4+5+8).