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
define a variable or dataframe and try to open it.
Traceback
Traceback (most recent call last):
File "/Users/yanzijin/opt/anaconda3/lib/python3.9/site-packages/spyder/plugins/variableexplorer/widgets/collectionsdelegate.py", line 210, in createEditorifnot editor.setup_and_check(value, title=key):
File "/Users/yanzijin/opt/anaconda3/lib/python3.9/site-packages/spyder/plugins/variableexplorer/widgets/dataframeeditor.py", line 957, in setup_and_checkself.dataModel = DataFrameModel(data, parent=self)
File "/Users/yanzijin/opt/anaconda3/lib/python3.9/site-packages/spyder/plugins/variableexplorer/widgets/dataframeeditor.py", line 135, in __init__self.max_min_col_update()
File "/Users/yanzijin/opt/anaconda3/lib/python3.9/site-packages/spyder/plugins/variableexplorer/widgets/dataframeeditor.py", line 244, in max_min_col_updatefor __, col inself.df.iteritems():
File "/Users/yanzijin/opt/anaconda3/lib/python3.9/site-packages/pandas/core/generic.py", line 6299, in __getattr__returnobject.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'iteritems'
Thanks for reporting. You need to update Spyder to fix this error.
To do that, 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?
define a variable or dataframe and try to open it.
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: