Hello all,
I am having an issue with the following:
https://gyazo.com/5859ddccf510c7cd465b6b7e0a44e35c
The screenshot above shows that the line of code works and that it colors the dataframe as intended.
But if I try to display the dataframe after or do any other code for that matter, this occurs:
https://gyazo.com/c716d844a47c5e36d8b121669478d106
Another example with variable assignment and that the colored dataframe does not display:
https://gyazo.com/7e136a8d2806a79373af75b3effb09ec
I would like to be able to display this in a loop: (https://gyazo.com/6052b15b56a0df5ded0153dc47a1ffba) See the code to see that it is the same line.
Online tutorials show that this should display the colored dataframe. Unfortunately it does not work for me. Can anyone tell me what I have to do to display the colored dataframe.
Best regards,
Jakob Haussmann
Louis Szeto
Hi Jakob
Just calling the method will not update the dataframe object, instead, we'll need to save it as a variable:
Then we can call it in the future:
Best
Louis
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Jakob kaae
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!