FutureWarning: Behavior when concatenating bool-dtype and numeric-dtype arrays is deprecated
posidonius opened this issue · 0 comments
posidonius commented
FutureWarning: Behavior when concatenating bool-dtype and numeric-dtype arrays is deprecated; in a future version these will cast to object dtype (instead of coercing bools to numeric values). To retain the old behavior, explicitly cast bool-dtype arrays to numeric dtype.
This warning is caused by the following line(s) in backtest.py:
new = pd.concat([empty_row, old])