human
Find matching rows in 2 dimensional numpy array
assistant
Here is some code to find rows matching `(0,1)` in a 2 dimensional numpy array `vals`

np.where((vals == (0, 1)).all(axis=1))

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