Numpy 2 column n rows array- operation on elemts of two columsn in each row : I am very new to Python and Numpy. I have an array of n rows and two columns (array).
I have another variable (a) which I am using as reference.

 for a between (1-10000)
     if    column1 of ARRAY<= a <= column2 of the ARRAY
            save the tuple (a, YES)

This resultant tuple I will use for further operation