I am trying to calculate the percent change in the values of the dataframe. Now the rows for which the percent change has to be calculated is entered by the user. If the user enters 2 then for every 2nd row the percentage change will be calculated. I have the following function:I am trying to calculate the percent change in