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