df = pd.DataFrame({'year':[2019,2019,2019,2019,2020,2020,2020,2020,2021,2021,2021,2021],'month':[1,2,3,4,1,2,3,4,1,2,3,4],'values':[33,63,24,19,22,30,60,25,23,24,30,80]})
How can I add the percentage of change between each year/month. For example, if I compare 2019 to 2020 for the month 1 it would be:
22/30 = -33%
the expected result should show 0 for the first year (2019) and for the next years show the increase/decrease percentage-wise.
What I have tried is groupby transform but couldn't get any result.

