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

[bug] every_series_loss为空的时候会报错 #144

Open
TheodoreG opened this issue Aug 4, 2024 · 0 comments
Open

[bug] every_series_loss为空的时候会报错 #144

TheodoreG opened this issue Aug 4, 2024 · 0 comments

Comments

@TheodoreG
Copy link

这一行,https://github.com/wondertrader/wtpy/blob/master/wtpy/apps/WtBtAnalyst.py#L705
当df_2和every_series_loss为空的时候,f_2_result只有两个columns,这样在下面设定columns时会出错,
ValueError: Length mismatch: Expected axis has 2 elements, new values have 3 elements

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

1 participant