You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Anaconda3\lib\site-packages\pandas\core\frame.py:1554: FutureWarning: Using short name for 'orient' is deprecated. Only the options: ('dict', list, 'series', 'split', 'records', 'index') will be used in a future version. Use one of the above to silence this warning.
FutureWarning,
C:\Anaconda3\lib\site-packages\pandas\core\frame.py:4449: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
errors=errors,
Exception in thread Thread-2:
Traceback (most recent call last):
File "C:\supe\FutureHolderRank-master\cffex.py", line 127, in run
self.parse_data(xml_dict)
File "C:\supe\FutureHolderRank-master\cffex.py", line 138, in parse_data
date = xml_dict['positionRank']['positionamt'][0]['tradingday']
KeyError: 'positionamt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Anaconda3\lib\threading.py", line 926, in _bootstrap_inner
self.run()
File "C:\supe\FutureHolderRank-master\cffex.py", line 132, in run
log.logger.error('数据处理线程出错, 时间:%s,错误信息:%s' % (xml_dict['positionRank']['positionamt'][0]['tradingday'], e), exc_info=True)
KeyError: 'positionamt'
The text was updated successfully, but these errors were encountered:
C:\Anaconda3\lib\site-packages\pandas\core\frame.py:1554: FutureWarning: Using short name for 'orient' is deprecated. Only the options: ('dict', list, 'series', 'split', 'records', 'index') will be used in a future version. Use one of the above to silence this warning.
FutureWarning,
C:\Anaconda3\lib\site-packages\pandas\core\frame.py:4449: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
errors=errors,
Exception in thread Thread-2:
Traceback (most recent call last):
File "C:\supe\FutureHolderRank-master\cffex.py", line 127, in run
self.parse_data(xml_dict)
File "C:\supe\FutureHolderRank-master\cffex.py", line 138, in parse_data
date = xml_dict['positionRank']['positionamt'][0]['tradingday']
KeyError: 'positionamt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Anaconda3\lib\threading.py", line 926, in _bootstrap_inner
self.run()
File "C:\supe\FutureHolderRank-master\cffex.py", line 132, in run
log.logger.error('数据处理线程出错, 时间:%s,错误信息:%s' % (xml_dict['positionRank']['positionamt'][0]['tradingday'], e), exc_info=True)
KeyError: 'positionamt'
The text was updated successfully, but these errors were encountered: