Correct, when we set the second parameter as ‘M’, we are actually creating a pd.Period with granularity as Month, so when we add 5 to it, we get the Period after 5 months.