Let say I have a numpy array A as follows:
A
A = array([[0, 2], [1, 2], [0, 1]])
I created a boolean array B<
B<