You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FutureWarning: Series.setitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To set a value by position, use ser.iloc[pos] = value
self._psar[i] = high2
The text was updated successfully, but these errors were encountered:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
This bug happens also when using the ta library with backtesting.py (or using any DataFrame slice), sounds like downgrading the Pandas library might help, but I haven't tried this yet personally. Please ta do update the code and thank you for what you have given us already.
FutureWarning: Series.setitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To set a value by position, use
ser.iloc[pos] = value
self._psar[i] = high2
The text was updated successfully, but these errors were encountered: