I am trying to compute returns from last value of the previous month, here is the sample dataframe, daily value. I can\'t figure out how to achieve this with pct_change() fu