log.txt 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. 2021-11-04 13:48:02,015 - ERROR - ('MGMCLN750N215H007', IndexError('index 0 is out of bounds for axis 0 with size 0'))
  2. 2021-11-04 13:48:02,019 - ERROR - Traceback (most recent call last):
  3. File "<ipython-input-2-e1920d2ffa60>", line 27, in <module>
  4. df_sheetCat=DataPreProcess.data_split_by_status(DataPreProcess,df_merge, drive_interval_threshold=120, charge_interval_threshold=300, drive_stand_threshold=120, charge_stand_threshold=300)
  5. File "d:\deploy\python_platform\data_analyze_platform\LIB\MIDDLE\WinterCharging\V1_0_0\DataPreProcessMGMC.py", line 57, in data_split_by_status
  6. last_crnt_flag = crnt_zero_or_not[0]
  7. File "D:\env\py_pro\lib\site-packages\pandas\core\series.py", line 879, in __getitem__
  8. return self._values[key]
  9. IndexError: index 0 is out of bounds for axis 0 with size 0
  10. 2021-11-04 13:50:02,211 - ERROR - ('MGMCLN750N215N228', MemoryError((34, 223482), dtype('O')))
  11. 2021-11-04 13:50:02,220 - ERROR - Traceback (most recent call last):
  12. File "<ipython-input-1-0029392f1f8e>", line 21, in <module>
  13. df_data = dbManager.get_data(sn=sn, start_time='2021-10-01 00:00:00', end_time='2021-11-10 00:00:00', data_groups=['bms','gps'])
  14. File "D:\deploy\python_platform\data_analyze_platform\LIB\BACKEND\DBManager.py", line 369, in get_data
  15. bms_all_data = pd.concat([bms_all_data, bms_data], ignore_index=True)
  16. File "D:\env\py_pro\lib\site-packages\pandas\core\reshape\concat.py", line 274, in concat
  17. op = _Concatenator(
  18. File "D:\env\py_pro\lib\site-packages\pandas\core\reshape\concat.py", line 362, in __init__
  19. obj._consolidate(inplace=True)
  20. File "D:\env\py_pro\lib\site-packages\pandas\core\generic.py", line 5234, in _consolidate
  21. self._consolidate_inplace()
  22. File "D:\env\py_pro\lib\site-packages\pandas\core\generic.py", line 5216, in _consolidate_inplace
  23. self._protect_consolidate(f)
  24. File "D:\env\py_pro\lib\site-packages\pandas\core\generic.py", line 5205, in _protect_consolidate
  25. result = f()
  26. File "D:\env\py_pro\lib\site-packages\pandas\core\generic.py", line 5214, in f
  27. self._mgr = self._mgr.consolidate()
  28. File "D:\env\py_pro\lib\site-packages\pandas\core\internals\managers.py", line 983, in consolidate
  29. bm._consolidate_inplace()
  30. File "D:\env\py_pro\lib\site-packages\pandas\core\internals\managers.py", line 988, in _consolidate_inplace
  31. self.blocks = tuple(_consolidate(self.blocks))
  32. File "D:\env\py_pro\lib\site-packages\pandas\core\internals\managers.py", line 1908, in _consolidate
  33. merged_blocks = _merge_blocks(
  34. File "D:\env\py_pro\lib\site-packages\pandas\core\internals\managers.py", line 1934, in _merge_blocks
  35. new_values = new_values[argsort]
  36. numpy.core._exceptions._ArrayMemoryError: Unable to allocate 58.0 MiB for an array with shape (34, 223482) and data type object
  37. 2021-11-04 13:54:30,485 - ERROR - ('MGMCLN750N215H007', IndexError('index 0 is out of bounds for axis 0 with size 0'))
  38. 2021-11-04 13:54:30,485 - ERROR - Traceback (most recent call last):
  39. File "<ipython-input-3-b0fbf0c5b5a8>", line 27, in <module>
  40. df_sheetCat=DataPreProcess.data_split_by_status(DataPreProcess,df_merge, drive_interval_threshold=120, charge_interval_threshold=300, drive_stand_threshold=120, charge_stand_threshold=300)
  41. File "d:\deploy\python_platform\data_analyze_platform\LIB\MIDDLE\WinterCharging\V1_0_0\DataPreProcessMGMC.py", line 57, in data_split_by_status
  42. last_crnt_flag = crnt_zero_or_not[0]
  43. File "D:\env\py_pro\lib\site-packages\pandas\core\series.py", line 879, in __getitem__
  44. return self._values[key]
  45. IndexError: index 0 is out of bounds for axis 0 with size 0