I am trying to subset the combinations of 2 adjacent elements from a 2D numpy array. Like I have array below:
In this I want to run for loops or subset the array such th