Hello @mdnahas / @as4456 ,
I am trying to re-use this code using python 3. It works fine in python 2 but as python 2 is currently deprecated since January 2020, I was trying to convert the code in python 3.
I started refactoring the code to make it work but I am facing an issue in Leo_Krippner_SSR/AAA_RUN_KANSM2_Est_LB.py"
YieldCurveDateIndex = MonthlyDateIndex[StartT:EndT+1]
TypeError: only integer scalar arrays can be converted to a scalar index
Steps to reproduce
- clone the repository
- use python 3 (currently I am using version 3.8)
- run data_read.py (with python 3)
- fix any fixable issue (print -> print ( and float / integer)
- run AAA_RUN_KANSM2_Est_LB.py
Hello @mdnahas / @as4456 ,
I am trying to re-use this code using python 3. It works fine in python 2 but as python 2 is currently deprecated since January 2020, I was trying to convert the code in python 3.
I started refactoring the code to make it work but I am facing an issue in
Leo_Krippner_SSR/AAA_RUN_KANSM2_Est_LB.py"Steps to reproduce