I have a list which contains 1000 integers. The 1000 integers represent 20X50 elements of dimensional array which I read from a file into the list.

I need to walk through the list with an indicator in order to find close elements to each other. I want that my indicator will be represented not only by a simple index i, but as a two indices x,y so I can know where is my indicator along the list.

I tried to reshape the list like that:

```
data = np.array( l )
shape = ( 20, 50 )
data.reshape( shape )
```

but I don't know how to access the data array.

Update: Is there any way to find the indices of x, y for an integers that are smaller than NUM(let's say NUM=12)