loc类型属性错误

loc类型属性错误

share.name=data.loc[0][0]
AttributeError: ‘NoneType’ object has no attribute ‘loc’
[Finished in 0.9s with exit code 1]

解决:tushare.get_realtime_quotes(“123123”)中股票代码错误,使用存在的股票代码填入601111

你可能感兴趣的:(python,user,python,modle)