HI Everyone! I use xarray for financial planning models.
I´m having trouble to calculate values in arrays, where one value depends on previous period value.
Shift() function does not attends when the value of an array is calculated in function of a previous value from the same array.
I´ve attached a simple case in a jupyterlab notebbok.
I would be really thankfull if you or someone can take a I look to this case.
Thank you for your time,