human
Find indices of elements equal to zero from numpy array
assistant
Here is some code to find indices of elements equal to zero from numpy array `x`

numpy.where((x == 0))[0]

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.