Frame.append deprecation

Course Name: Volatility Trading Strategies for Beginners, Section No: 10, Unit No: 12, Unit type: Notebook

 

I am coming across many future deprecation of frame.append through out the Volatility Trading Strategies for Beginners course. Are your courses not updated to main today's code requirements? How would I fix this?

Hello Luis,



Thank you for pointing out the future depreciation warning in the notebook. When it comes to maintaining updated versions of the various python libraries installed on the system, we have to ensure that the updated libraries do not conflict with another library's working. We have seen cases where we could not use an updated version of one library as it led to errors in the working of another library. Hence we try to update library versions keeping in mind the other libraries installed as well. 



Rest assured that no matter which version of the library is being used, the code will work and your strategy will run without any issues. 

Right now the warning can be suppressed using the following code,

 

import warnings
warnings.simplefilter(action='ignore', category=FutureWarning)

This has been updated in the notebook you mentioned.

Hope this helps.