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
opening a panda dataframe for the variable explorer
Traceback
Traceback (most recent call last):
File "C:\Users\fedib\anaconda3\envs\spyder\Lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionsdelegate.py", line 211, in createEditorifnot editor.setup_and_check(value, title=key):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\fedib\anaconda3\envs\spyder\Lib\site-packages\spyder\plugins\variableexplorer\widgets\dataframeeditor.py", line 957, in setup_and_checkself.dataModel = DataFrameModel(data, parent=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\fedib\anaconda3\envs\spyder\Lib\site-packages\spyder\plugins\variableexplorer\widgets\dataframeeditor.py", line 135, in __init__self.max_min_col_update()
File "C:\Users\fedib\anaconda3\envs\spyder\Lib\site-packages\spyder\plugins\variableexplorer\widgets\dataframeeditor.py", line 244, in max_min_col_updatefor __, col inself.df.iteritems():
^^^^^^^^^^^^^^^^^
File "C:\Users\fedib\anaconda3\envs\spyder\Lib\site-packages\pandas\core\generic.py", line 5989, in __getattr__returnobject.__getattribute__(self, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^AttributeError: 'DataFrame' object has no attribute 'iteritems'. Did you mean: 'isetitem'?
In addition, when I import the pandas (import pandas as pd) module the first time I get a message :
"This version of python seems to be incorrectly compiled
(internal generated filenames are not absolute).
This may make the debugger miss breakpoints.
Related bug: http://bugs.python.org/issue1666807"
Hi @dramajohns thank you for the feedback! Seems like the initial issue described is a duplicate of #20496 To get the fix you will need to update to Spyder 5.4.3
For the message you are getting, I think that is a duplicate of #20800 which hopefully will be fixed in the next Spyder release (5.4.4)
Let us know if the info above and updating Spyder helps!
Description
What steps will reproduce the problem?
opening a panda dataframe for the variable explorer
Traceback
Versions
Dependencies
Environment
Environment
The text was updated successfully, but these errors were encountered: