We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MergeError: Passing 'suffixes' which cause duplicate columns {'account_value_x'} is not allowed.
please change to this code: result = pd.merge(df_result_a2c, df_result_ddpg, left_index=True, right_index=True) result = pd.merge(result, df_result_td3, left_index=True, right_index=True) result = pd.merge(result, df_result_ppo, left_index=True, right_index=True, suffixes=('_1', '_2')) result = pd.merge(result, df_result_sac, left_index=True, right_index=True) result = pd.merge(result, MVO_result, left_index=True, right_index=True, suffixes=('_3', '_4')) result = pd.merge(result, df_dji, left_index=True, right_index=True, suffixes=('_5', '_6')) result.columns = ['a2c', 'ddpg', 'td3', 'ppo', 'sac', 'mean var', 'dji']
The text was updated successfully, but these errors were encountered:
No branches or pull requests
MergeError: Passing 'suffixes' which cause duplicate columns {'account_value_x'} is not allowed.
please change to this code:
result = pd.merge(df_result_a2c, df_result_ddpg, left_index=True, right_index=True)
result = pd.merge(result, df_result_td3, left_index=True, right_index=True)
result = pd.merge(result, df_result_ppo, left_index=True, right_index=True, suffixes=('_1', '_2'))
result = pd.merge(result, df_result_sac, left_index=True, right_index=True)
result = pd.merge(result, MVO_result, left_index=True, right_index=True, suffixes=('_3', '_4'))
result = pd.merge(result, df_dji, left_index=True, right_index=True, suffixes=('_5', '_6'))
result.columns = ['a2c', 'ddpg', 'td3', 'ppo', 'sac', 'mean var', 'dji']
The text was updated successfully, but these errors were encountered: