use pandas to read excel or csv and then the dataframe appearred in variable explorer.
Traceback
File "C:\Anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionsdelegate.py", line 189, in createEditor
if not editor.setup_and_check(value, title=key):
File "C:\Anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\dataframeeditor.py", line 946, in setup_and_check
self.dataModel = DataFrameModel(data, parent=self)
File "C:\Anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\dataframeeditor.py", line 139, in __init__
self.max_min_col_update()
File "C:\Anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\dataframeeditor.py", line 248, in max_min_col_update
for dummy, col in self.df.iteritems():
File "C:\Anaconda3\lib\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?
use pandas to read excel or csv and then the dataframe appearred in variable explorer.
Traceback
Versions
Dependencies