I have to add 'N' no.of months in the date column and was trying to use this function to help me to do so.
order_emis_full['calc_due_date']=order_emis_full['agreement_date'].apply(lambda x: x + relativedelta.relativedelta(months=1))
I keep getting the error
IllegalMonthError: bad month number nan; must be 1-12