Dimsmary / Ossas_ChatBot

chatbot with Keras
MIT License
455 stars 64 forks source link

QQRecord2Excel对非群聊(私聊)记录进行处理时发生异常 #18

Open DeusSeuca opened 4 years ago

DeusSeuca commented 4 years ago

私聊数据进行1,2步骤时没有遇到问题,但是在进行第3步时候遇到了如下异常。 Empty DataFrame Columns: [] Index: [] Traceback (most recent call last): File "QQRecord2Excel.py", line 151, in File "site-packages\pandas\core\generic.py", line 5192, in setattr File "pandas/_libs/properties.pyx", line 67, in pandas._libs.properties.AxisProperty.set File "site-packages\pandas\core\generic.py", line 690, in _set_axis File "site-packages\pandas\core\internals\managers.py", line 183, in set_axis ValueError: Length mismatch: Expected axis has 0 elements, new values have 2 elements [35760] Failed to execute script QQRecord2Excel 注:我不太清楚该如何对split.txt进行编辑,这对于处理聊天记录而言是必要的吗