当我为我的Dash应用程序运行这段代码时,我得到了AttributeError: 'int' object has no attribute 'to_dict'。我不明白为什么,因为当我在沙箱环境中运行下面的代码(测试它是否工作)时,一切似乎都很好,我得到了我请求的数据的DataFrame,而没有使用循环: symbols = ('FB','AAPL', 'EBAYdf = pd.DataFrame(tupples, columns=
\site-packages\numpy\lib\nanfunctions.py", line 190, in _divide_by_countAttributeError: 'int' object has no attribute 'dtype' # Amihuds Liquidity measure
liquidity_pricing_date
在测试我的一个函数时,我遇到了AttributeError: 'int' object has no attribute 'get_data'这个错误。File "D:\CMPT 145\Assignment 7\a7q7.py", line 36, in countnc_recAttributeError: 'int' object has no attribute
give a bit of space at each end of the plot - aesthetics extra = intfinal_df.to_csv('nse_data.csv', sep='\t', encoding='utf-8')
当我运行代码时,我得到错误AttributeError: 'numpy.i