出现了报错,倒数第三行和第二行应该这样:
stocks = get_index_stocks('000016.XSHG')
df = get_fundamentals(query(income,balance,cash_flow).filter(income.code.in_(stocks)),date='2018-11-01')
使用的是get_index_stocks()函数
query查询应该是:query(income,balance,cash_flow).filter(income.code.in_(stocks)),
in后面有下划线,in_
2020-02-23