r , col in self.df.iteritems():
File "C:\Users\Teja.Gudipati\Anaconda3\lib\site-packages\pandas\core\generic.py", line 5989, in getattr__
Traceback
Traceback (most recent call last):
File "C:\Users\Teja.Gudipati\Anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionsdelegate.py", line 203, in createEditor
if not editor.setup_and_check(value, title=key):
File "C:\Users\Teja.Gudipati\Anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\dataframeeditor.py", line 946, in setup_and_check
self.dataModel = DataFrameModel(data, parent=self)
File "C:\Users\Teja.Gudipati\Anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\dataframeeditor.py", line 135, in __init__
self.max_min_col_update()
File "C:\Users\Teja.Gudipati\Anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\dataframeeditor.py", line 244, in max_min_col_update
for __, col in self.df.iteritems():
File "C:\Users\Teja.Gudipati\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?
df unable to read
r , col in self.df.iteritems(): File "C:\Users\Teja.Gudipati\Anaconda3\lib\site-packages\pandas\core\generic.py", line 5989, in getattr__
Traceback
Versions
Dependencies