I have store some data in Variable Explorer as df, but I cannot open df as it states that Spyder has encounted an internal problem
Traceback
Traceback (most recent call last):
File "/Users/brian3543/opt/anaconda3/lib/python3.9/site-packages/spyder/plugins/variableexplorer/widgets/collectionsdelegate.py", line 500, in createEditor
if not editor.setup_and_check(value, title=key):
File "/Users/brian3543/opt/anaconda3/lib/python3.9/site-packages/spyder/plugins/variableexplorer/widgets/dataframeeditor.py", line 957, in setup_and_check
self.dataModel = DataFrameModel(data, parent=self)
File "/Users/brian3543/opt/anaconda3/lib/python3.9/site-packages/spyder/plugins/variableexplorer/widgets/dataframeeditor.py", line 135, in __init__
self.max_min_col_update()
File "/Users/brian3543/opt/anaconda3/lib/python3.9/site-packages/spyder/plugins/variableexplorer/widgets/dataframeeditor.py", line 244, in max_min_col_update
for __, col in self.df.iteritems():
File "/Users/brian3543/opt/anaconda3/lib/python3.9/site-packages/pandas/core/generic.py", line 6299, 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 have store some data in Variable Explorer as df, but I cannot open df as it states that Spyder has encounted an internal problem
Traceback
Versions
Dependencies