I have a numpy array which which has a shape of (10, 3) and looks like:
10 | xxx | yyy
11 | xxx | yyy
13 | xxx | yyy
14 | xxx | yyy
15 | xxx | yyy
17 | xxx | yyy
19 | xxx | yyy
..............
What I want is to extract only the rows which have the value of the first column between 12 and 16, for example. I tried with numpy.where(), but I didn't really manage to.
So what I want is something that returns:
13 | xxx | yyy
14 | xxx | yyy
15 | xxx | yyy