sys:1: DtypeWarning: Columns (2,8) have mixed types.Specify dtype option on import or set low_memory=False.
Traceback (most recent call last):
File "[此处省略部分路径名]\Python\Python36\site-packages\pandas\core\indexes\base.py", line 2895, in get_loc
return self._engine.get_loc(casted_key)
File "pandas_libs\index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\index.pyx", line 101, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\hashtable_class_helper.pxi", line 1675, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas_libs\hashtable_class_helper.pxi", line 1683, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: '情感得分'
sys:1: DtypeWarning: Columns (2,8) have mixed types.Specify dtype option on import or set low_memory=False. Traceback (most recent call last): File "[此处省略部分路径名]\Python\Python36\site-packages\pandas\core\indexes\base.py", line 2895, in get_loc return self._engine.get_loc(casted_key) File "pandas_libs\index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc File "pandas_libs\index.pyx", line 101, in pandas._libs.index.IndexEngine.get_loc File "pandas_libs\hashtable_class_helper.pxi", line 1675, in pandas._libs.hashtable.PyObjectHashTable.get_item File "pandas_libs\hashtable_class_helper.pxi", line 1683, in pandas._libs.hashtable.PyObjectHashTable.get_item KeyError: '情感得分'
设置了low_memory=False后,解决了第一个问题 下面的‘情感得分’仍然捕捉不到,请问是什么原因,未改动过代码