123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- 2021-11-04 13:48:02,015 - ERROR - ('MGMCLN750N215H007', IndexError('index 0 is out of bounds for axis 0 with size 0'))
- 2021-11-04 13:48:02,019 - ERROR - Traceback (most recent call last):
- File "<ipython-input-2-e1920d2ffa60>", line 27, in <module>
- 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)
- File "d:\deploy\python_platform\data_analyze_platform\LIB\MIDDLE\WinterCharging\V1_0_0\DataPreProcessMGMC.py", line 57, in data_split_by_status
- last_crnt_flag = crnt_zero_or_not[0]
- File "D:\env\py_pro\lib\site-packages\pandas\core\series.py", line 879, in __getitem__
- return self._values[key]
- IndexError: index 0 is out of bounds for axis 0 with size 0
- 2021-11-04 13:50:02,211 - ERROR - ('MGMCLN750N215N228', MemoryError((34, 223482), dtype('O')))
- 2021-11-04 13:50:02,220 - ERROR - Traceback (most recent call last):
- File "<ipython-input-1-0029392f1f8e>", line 21, in <module>
- 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'])
- File "D:\deploy\python_platform\data_analyze_platform\LIB\BACKEND\DBManager.py", line 369, in get_data
- bms_all_data = pd.concat([bms_all_data, bms_data], ignore_index=True)
- File "D:\env\py_pro\lib\site-packages\pandas\core\reshape\concat.py", line 274, in concat
- op = _Concatenator(
- File "D:\env\py_pro\lib\site-packages\pandas\core\reshape\concat.py", line 362, in __init__
- obj._consolidate(inplace=True)
- File "D:\env\py_pro\lib\site-packages\pandas\core\generic.py", line 5234, in _consolidate
- self._consolidate_inplace()
- File "D:\env\py_pro\lib\site-packages\pandas\core\generic.py", line 5216, in _consolidate_inplace
- self._protect_consolidate(f)
- File "D:\env\py_pro\lib\site-packages\pandas\core\generic.py", line 5205, in _protect_consolidate
- result = f()
- File "D:\env\py_pro\lib\site-packages\pandas\core\generic.py", line 5214, in f
- self._mgr = self._mgr.consolidate()
- File "D:\env\py_pro\lib\site-packages\pandas\core\internals\managers.py", line 983, in consolidate
- bm._consolidate_inplace()
- File "D:\env\py_pro\lib\site-packages\pandas\core\internals\managers.py", line 988, in _consolidate_inplace
- self.blocks = tuple(_consolidate(self.blocks))
- File "D:\env\py_pro\lib\site-packages\pandas\core\internals\managers.py", line 1908, in _consolidate
- merged_blocks = _merge_blocks(
- File "D:\env\py_pro\lib\site-packages\pandas\core\internals\managers.py", line 1934, in _merge_blocks
- new_values = new_values[argsort]
- numpy.core._exceptions._ArrayMemoryError: Unable to allocate 58.0 MiB for an array with shape (34, 223482) and data type object
- 2021-11-04 13:54:30,485 - ERROR - ('MGMCLN750N215H007', IndexError('index 0 is out of bounds for axis 0 with size 0'))
- 2021-11-04 13:54:30,485 - ERROR - Traceback (most recent call last):
- File "<ipython-input-3-b0fbf0c5b5a8>", line 27, in <module>
- 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)
- File "d:\deploy\python_platform\data_analyze_platform\LIB\MIDDLE\WinterCharging\V1_0_0\DataPreProcessMGMC.py", line 57, in data_split_by_status
- last_crnt_flag = crnt_zero_or_not[0]
- File "D:\env\py_pro\lib\site-packages\pandas\core\series.py", line 879, in __getitem__
- return self._values[key]
- IndexError: index 0 is out of bounds for axis 0 with size 0
|