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
2
2 comments

I have the same problem

0

Hi Ruslanlintvinenko , can you please share more details on the issue? In which circumstances do you see an error? Would you please share screenshots / screen-cast representing it?

0

Please sign in to leave a comment.