Skip to content
New issue

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

im getting scalar error at df_summary #8

Open
prakash888kp opened this issue May 16, 2023 · 2 comments
Open

im getting scalar error at df_summary #8

prakash888kp opened this issue May 16, 2023 · 2 comments

Comments

@prakash888kp
Copy link

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

@prakash888kp
Copy link
Author

@llSourcell please help me on this issue

@husigma
Copy link

husigma commented Apr 15, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants