log_warning.txt 2.4 KB

1234567891011121314151617181920212223242526
  1. 2022-05-12 12:52:34,615 - ERROR - (ValueError('cannot set a row with mismatched columns'),)
  2. 2022-05-12 12:52:34,619 - ERROR - Traceback (most recent call last):
  3. File "d:\01WorkSpace\python\data_analyze_platform\USER\SPF\alibaba\07BatSafetyWarning\main_test.py", line 123, in saftywarning_cal
  4. df_short_res, df_ram_res, df_ram_res1, df_ram_res2, df_ram_res3, df_ram_res4=BatShort.intershort()
  5. File "d:\01WorkSpace\python\data_analyze_platform\USER\SPF\alibaba\07BatSafetyWarning\CBMSBatInterShort.py", line 41, in intershort
  6. df_res, df_ram_last, df_ram_last1, df_ram_last2, df_ram_last3, df_ram_lfp=self._lfp_intershort()
  7. File "d:\01WorkSpace\python\data_analyze_platform\USER\SPF\alibaba\07BatSafetyWarning\CBMSBatInterShort.py", line 775, in _lfp_intershort
  8. df_ram_last2.loc[0]=[self.sn,time_last2,deltAs_last2,0,0] #¸üÐÂRAMÐÅÏ¢
  9. File "C:\Users\NING MEI\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pandas\core\indexing.py", line 723, in __setitem__
  10. iloc._setitem_with_indexer(indexer, value, self.name)
  11. File "C:\Users\NING MEI\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pandas\core\indexing.py", line 1724, in _setitem_with_indexer
  12. self._setitem_with_indexer_missing(indexer, value)
  13. File "C:\Users\NING MEI\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pandas\core\indexing.py", line 2027, in _setitem_with_indexer_missing
  14. raise ValueError("cannot set a row with mismatched columns")
  15. ValueError: cannot set a row with mismatched columns
  16. 2022-05-12 12:58:50,707 - ERROR - (TypeError("unsupported operand type(s) for -: 'list' and 'list'"),)
  17. 2022-05-12 12:58:50,709 - ERROR - Traceback (most recent call last):
  18. File "d:\01WorkSpace\python\data_analyze_platform\USER\SPF\alibaba\07BatSafetyWarning\main_test.py", line 123, in saftywarning_cal
  19. df_short_res, df_ram_res, df_ram_res1, df_ram_res2, df_ram_res3, df_ram_res4=BatShort.intershort()
  20. File "d:\01WorkSpace\python\data_analyze_platform\USER\SPF\alibaba\07BatSafetyWarning\CBMSBatInterShort.py", line 41, in intershort
  21. df_res, df_ram_last, df_ram_last1, df_ram_last2, df_ram_last3, df_ram_lfp=self._lfp_intershort()
  22. File "d:\01WorkSpace\python\data_analyze_platform\USER\SPF\alibaba\07BatSafetyWarning\CBMSBatInterShort.py", line 797, in _lfp_intershort
  23. list_sub2=deltAs_now2-deltAs_last2
  24. TypeError: unsupported operand type(s) for -: 'list' and 'list'