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
Then when I click on the dataframe df in the Variable Explorer, the df doesn't show, instead this error message appears
Traceback
File "/opt/anaconda3/lib/python3.8/site-packages/spyder/plugins/variableexplorer/widgets/collectionsdelegate.py", line 199, in createEditorifnot editor.setup_and_check(value, title=key):
File "/opt/anaconda3/lib/python3.8/site-packages/spyder/plugins/variableexplorer/widgets/dataframeeditor.py", line 952, in setup_and_checkself.dataModel = DataFrameModel(data, parent=self)
File "/opt/anaconda3/lib/python3.8/site-packages/spyder/plugins/variableexplorer/widgets/dataframeeditor.py", line 139, in __init__self.max_min_col_update()
File "/opt/anaconda3/lib/python3.8/site-packages/spyder/plugins/variableexplorer/widgets/dataframeeditor.py", line 248, in max_min_col_updatefor dummy, col inself.df.iteritems():
File "/opt/anaconda3/lib/python3.8/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?
df = pd.read_csv(url)
Then when I click on the dataframe df in the Variable Explorer, the df doesn't show, instead this error message appears
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: