robcarver17 / pysystemtrade

Systematic Trading in python
GNU General Public License v3.0
2.66k stars 837 forks source link

Rolls script: suppress FutureWarning by explicitly replacing append() with concat() #1465

Closed vishalg closed 3 days ago

vishalg commented 3 days ago

The original fix was not complete. I have fixed the DataFrame indexation so it returns a DataFrame otherwise a Series object is returned and concatenation will be along incorrect dimensions.