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
Hi
I tried to change the length of "hist " variable in "plot_sup_res_learn" method in init.py file, the default was '2019-10-07' and I changed it to '2019-10-27'. I got an error 'ValueError: cannot convert float NaN to integer'.
when I debug the code I found this line in init.py file line 219 that causes the error. b = hist.Close.iloc[-10] - m * 0 - mn.
some times the value of 'b' becomes 0 and it causes other problems in next lines.
In the following of the line 219, this expression was commented: + height * 0.2
and height was calculated in line 214 and it was also commented
My question is what if I uncomment the line 214 and this expression in line 219 " + height * 0.2"?
How does it affect on the next calculation?
Thanks
The text was updated successfully, but these errors were encountered:
Hi
I tried to change the length of "hist " variable in "plot_sup_res_learn" method in init.py file, the default was '2019-10-07' and I changed it to '2019-10-27'. I got an error 'ValueError: cannot convert float NaN to integer'.
when I debug the code I found this line in init.py file line 219 that causes the error. b = hist.Close.iloc[-10] - m * 0 - mn.
some times the value of 'b' becomes 0 and it causes other problems in next lines.
In the following of the line 219, this expression was commented: + height * 0.2
and height was calculated in line 214 and it was also commented
My question is what if I uncomment the line 214 and this expression in line 219 " + height * 0.2"?
How does it affect on the next calculation?
Thanks
The text was updated successfully, but these errors were encountered: