help me fix error 0085

ngo kiet 1 Reputation point
2021-03-13T14:09:45.24+00:00

Error 0085: The following error occurred during script evaluation, please view the output log for more information:
---------- Start of error message from Python interpreter ----------
Caught exception while executing function: Traceback (most recent call last):
File "C:\server\invokepy.py", line 199, in batch
odfs = mod.azureml_main(*idfs)
File "C:\temp\dcc32c6db61a425eb482bb3deadd6e41.py", line 25, in azureml_main
dataset.columns = ['sentiment', 'tweets']
File "C:\pyhome\lib\site-packages\pandas\core\generic.py", line 2682, in setattr
return object.setattr(self, name, value)
File "pandas\src\properties.pyx", line 65, in pandas.lib.AxisProperty.set (pandas\lib.c:45018)
File "C:\pyhome\lib\site-packages\pandas\core\generic.py", line 425, in _set_axis
self._data.set_axis(axis, labels)
File "C:\pyhome\lib\site-packages\pandas\core\internals.py", line 2578, in set_axis
(old_len, new_len))
ValueError: Length mismatch: Expected axis has 3 elements, new values have 2 elements
Process returned with non-zero exit code 1

---------- End of error message from Python interpreter ----------
Start time: UTC 03/13/2021 14:06:38
End time: UTC 03/13/2021 14:07:11

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,710 questions
{count} votes