asavinov / intelligent-trading-bot

Intelligent Trading Bot: Automatically generating signals and trading based on machine learning and feature engineering
https://t.me/intelligent_trading_signals
MIT License
1.02k stars 217 forks source link

fix merge df out join #34

Closed woehrer12 closed 11 months ago

woehrer12 commented 1 year ago

I made a modification to the code by adding the rsuffix parameter to the join method. This parameter appends a specified suffix to the column names of the right DataFrame when there are overlapping column names during the join operation. This helps to disambiguate the columns and avoid the "ValueError: columns overlap but no suffix specified" error. The modified code ensures that the DataFrames are successfully joined even when they have overlapping column names.