I need your help fellows. I want to remove all rows which contain at least a repeated zero value in the previous/next row of the second column. Look at the next example:
Input=
124.2 8.6 7.2 -4.8131.1 1.8 1.4 -1.2131.9 0.0 0.0 0.0123.0 0.0 0.0 0.02323.0 3.0 3.0 3.02323.0 0.0 0.0 0.0221.0 3.1 4.0 5.657.0 1.0 231.0 122.0987.0 0.0 0.0 0.04454.0 0.0 0.0 0.03.0 0.0 0.0 0.0434.0 0.0 0.0 0.0
Output=
124.2 8.6 7.2 -4.8131.1 1.8 1.4 -1.22323.0 3.0 3.0 3.02323.0 0.0 0.0 0.0221.0 3.1 4.0 5.657.0 1.0 231.0 122.0
Only it was maintened the sixth row of the original table (input) due to there was not a zero in the previous/next row of the same column (second column).
Thanks in advance for your help!
Best Answer