I can't open variables in spyder the error message is "Spyder has encountered an internal problem".
Traceback
File "/Users/jiamanxu/opt/anaconda3/lib/python3.8/site-packages/spyder/plugins/variableexplorer/widgets/collectionsdelegate.py", line 199, in createEditor
if not editor.setup_and_check(value, title=key):
File "/Users/jiamanxu/opt/anaconda3/lib/python3.8/site-packages/spyder/plugins/variableexplorer/widgets/dataframeeditor.py", line 952, in setup_and_check
self.dataModel = DataFrameModel(data, parent=self)
File "/Users/jiamanxu/opt/anaconda3/lib/python3.8/site-packages/spyder/plugins/variableexplorer/widgets/dataframeeditor.py", line 139, in __init__
self.max_min_col_update()
File "/Users/jiamanxu/opt/anaconda3/lib/python3.8/site-packages/spyder/plugins/variableexplorer/widgets/dataframeeditor.py", line 248, in max_min_col_update
for dummy, col in self.df.iteritems():
File "/Users/jiamanxu/opt/anaconda3/lib/python3.8/site-packages/pandas/core/generic.py", line 5989, in __getattr__
return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'iteritems'
Thanks for reporting. To fix this error, please close Spyder, open the Anaconda Prompt (on Windows) or a terminal (on macOS or Linux) and run there the commands mentioned in our documentation.
Description
What steps will reproduce the problem?
I can't open variables in spyder the error message is "Spyder has encountered an internal problem".
Traceback
Versions
Dependencies