You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: