0%| | 0/50 [00:00<?, ?it/s]
Traceback (most recent call last):
File "C:\Python\Lib\site-packages\pandas\core\indexes\base.py", line 3802, in get_loc
return self._engine.get_loc(casted_key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "pandas\_libs\index.pyx", line 138, in pandas._libs.index.IndexEngine.get_loc
File "pandas\_libs\index.pyx", line 165, in pandas._libs.index.IndexEngine.get_loc
File "pandas\_libs\hashtable_class_helper.pxi", line 5745, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas\_libs\hashtable_class_helper.pxi", line 5753, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'output'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\OpenAI\script.py", line 14, in <module>
if not pd.isna(row['output']):
~~~^^^^^^^^^^
File "C:\Python\Lib\site-packages\pandas\core\series.py", line 981, in __getitem__
return self._get_value(key)
^^^^^^^^^^^^^^^^^^^^
File "C:\Python\Lib\site-packages\pandas\core\series.py", line 1089, in _get_value
loc = self.index.get_loc(label)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python\Lib\site-packages\pandas\core\indexes\base.py", line 3804, in get_loc
raise KeyError(key) from err
KeyError: 'output'
Process finished with exit code 1