PyCharm throws the same error whatever I do

Whenever I have used PyCharm for a while (Mac M1) I start getting this error message whatever I do. Even assigning a=1 I get it. The command is executed but it is quite annoying to get the error all the time.



Traceback (most recent call last):
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_console_utils.py", line 253, in getArray
return pydevd_thrift.table_like_struct_to_thrift_struct(array, name, roffset, coffset, rows, cols, format)
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydevd_bundle/pydevd_thrift.py", line 625, in table_like_struct_to_thrift_struct
return TYPE_TO_THRIFT_STRUCT_CONVERTERS[type_name](array, name, roffset, coffset, rows, cols, format)
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydevd_bundle/pydevd_thrift.py", line 539, in dataframe_to_thrift_struct
dtype = df.dtypes.iloc[coffset + col].kind
File "/Users/mattihonkanen/.conda/envs/deploys/lib/python3.8/site-packages/pandas/core/indexing.py", line 895, in __getitem__
return self._getitem_axis(maybe_callable, axis=axis)
File "/Users/mattihonkanen/.conda/envs/deploys/lib/python3.8/site-packages/pandas/core/indexing.py", line 1501, in _getitem_axis
self._validate_integer(key, axis)
File "/Users/mattihonkanen/.conda/envs/deploys/lib/python3.8/site-packages/pandas/core/indexing.py", line 1444, in _validate_integer
raise IndexError("single positional indexer is out-of-bounds")
IndexError: single positional indexer is out-of-bounds

Please sign in to leave a comment.