test.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:PyTrader 作者: didw 项目源码 文件源码
def read_h5():
    code_list = glob.glob('../data/stock/*.h5')
    for code in code_list[:10]:
        data = pd.read_hdf(code, 'table').sort_index()
        data = data.loc[data.index >= str(20160101)]
        data = data.loc[data.index <= str(20160630)]
        print(data.head())
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号