Open prakash888kp opened 1 year ago
@llSourcell please help me on this issue
So I used below to get over this error
df_summary = ensemble_agent.run_ensemble_strategy(A2C_model_kwargs, PPO_model_kwargs, DDPG_model_kwargs=DDPG_model_kwargs, TD3_model_kwargs=None, SAC_model_kwargs = None, timesteps_dict=timesteps_dict)
If using all scalar values, you must pass an index
ValueError Traceback (most recent call last) in <cell line: 1>()
----> 1 df_summary = ensemble_agent.run_ensemble_strategy(A2C_model_kwargs,
2 PPO_model_kwargs,
3 DDPG_model_kwargs,
4 timesteps_dict)
5 frames /usr/local/lib/python3.10/dist-packages/pandas/core/internals/construction.py in _extract_index(data) 654 655 if not indexes and not raw_lengths: --> 656 raise ValueError("If using all scalar values, you must pass an index") 657 658 elif have_series:
ValueError: If using all scalar values, you must pass an index