Lets say I have two numpy arrays A and B:
A = [[1,2,3],
[4,5,6]]
B = [[3,2,3],
[6,5,6]]
I would like to (quickly) count the number of elements that are unequal between the two arrays. In the case above, the answer would be 2.
Is there nice way to do this?