title: Replace zeros in the data frame with average values of adjacent rows in the same column
body: <p>I have imported data from excel file into a variable df using pandas. Some of the values are zeros. I need to replace this values with the average of the values in the upper row and lower row of the same column. Please suggest how I can iterate and calculate the average values.</p>