enzoampil / fastquant

fastquant — Backtest and optimize your ML trading strategies with only 3 lines of code!
MIT License
1.54k stars 239 forks source link

fix pandas version in requirements.txt file #426

Closed skon7 closed 1 year ago

skon7 commented 1 year ago

resolves #

Description

"I believe the error may be related to your Pandas version. In the requirements.txt file, you've specified 'pandas>=1.1.5.' However, in Pandas 2.0, the 'append' method has been deprecated. You have a few options to resolve this:

You can update the Pandas version to one that supports the 'append' method. Replace 'append' with '_append' if it's suitable for your code. Use the 'concat' function instead. Please note that the syntax for 'concat' will change, and you'll need to modify your code to use it like this: 'pd.concat([s1, s2]).'" so i change the requirements.txt file from pandas>=1.1.5 to pandas>=1.1.5,<=1.5.2

Checklist