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

example/alpha/ICCombine.py 有问题 #35

Open
MrKaiWu opened this issue Apr 9, 2018 · 0 comments
Open

example/alpha/ICCombine.py 有问题 #35

MrKaiWu opened this issue Apr 9, 2018 · 0 comments

Comments

@MrKaiWu
Copy link

MrKaiWu commented Apr 9, 2018

我用的是Python 3.6, Windows系统
发现需要进行以下修改 程序才能正常运行
首先,第45、46行:

ic_weight_hd5_path = '../../output/ICCombine', 'ic_weight.hd5'
custom_data_path = '../../output/ICCombine', 'custom_date.json'

我改为了:

ic_weight_hd5_path = '../../output/ICCombine/ic_weight.hd5'
custom_data_path = '../../output/ICCombine/custom_date.json'

第二,在220行之后,还要添加:

dv.load_dataview(folder_path=dataview_dir_path)

需要把dataview重新加载一下,否则亲测get_snapshot函数无法获得通过append_df添加的列。不知道这个算不算bug。如果每次都要重新加载,未免有些蛋疼。

@MrKaiWu MrKaiWu changed the title Example/ICCombine.py 有问题 example/alpha/ICCombine.py 有问题 Apr 9, 2018
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