You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "C:\Users\citla\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:\Users\citla\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\citla\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\dataframeeditor.py", line 139, in init
self.max_min_col_update()
File "C:\Users\citla\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:\Users\citla\anaconda3\lib\site-packages\pandas\core\generic.py", line 5989, in getattr
return object.getattribute(self, name)
AttributeError: 'DataFrame' object has no attribute 'iteritems'
Traceback
File "C:\Users\citla\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionsdelegate.py", line 189, in createEditorifnot editor.setup_and_check(value, title=key):
File "C:\Users\citla\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\dataframeeditor.py", line 946, in setup_and_checkself.dataModel = DataFrameModel(data, parent=self)
File "C:\Users\citla\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\dataframeeditor.py", line 139, in __init__self.max_min_col_update()
File "C:\Users\citla\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\dataframeeditor.py", line 248, in max_min_col_updatefor dummy, col inself.df.iteritems():
File "C:\Users\citla\anaconda3\lib\site-packages\pandas\core\generic.py", line 5989, in __getattr__returnobject.__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?
File "C:\Users\citla\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:\Users\citla\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\citla\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\dataframeeditor.py", line 139, in init
self.max_min_col_update()
File "C:\Users\citla\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:\Users\citla\anaconda3\lib\site-packages\pandas\core\generic.py", line 5989, in getattr
return object.getattribute(self, name)
AttributeError: 'DataFrame' object has no attribute 'iteritems'
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: