dataset not opened in variable explorer
See original GitHub issueDescription
What steps will reproduce the problem?
The dataset in not opened in the dataframe of the variable explorer.
Traceback
File "C:\Users\Elango\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionsdelegate.py", line 159, in createEditor
if not editor.setup_and_check(value, title=key):
File "C:\Users\Elango\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\dataframeeditor.py", line 901, in setup_and_check
self.dataModel = DataFrameModel(data, parent=self)
File "C:\Users\Elango\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\dataframeeditor.py", line 126, in __init__
self.df_index = dataFrame.index.tolist()
File "C:\Users\Elango\anaconda3\lib\site-packages\pandas\core\generic.py", line 5270, in __getattr__
File "pandas\_libs\properties.pyx", line 63, in pandas._libs.properties.AxisProperty.__get__
File "C:\Users\Elango\anaconda3\lib\site-packages\pandas\core\generic.py", line 5270, in __getattr__
AttributeError: 'DataFrame' object has no attribute '_data'
Versions
- Spyder version: 4.0.1
- Python version: 3.7.6
- Qt version: 5.9.6
- PyQt5 version: 5.9.2
- Operating System: Windows 10
Dependencies
atomicwrites >=1.2.0 : 1.3.0 (OK)
chardet >=2.0.0 : 3.0.4 (OK)
cloudpickle >=0.5.0 : 1.3.0 (OK)
diff_match_patch >=20181111 : 20181111 (OK)
intervaltree : None (OK)
IPython >=4.0 : 7.12.0 (OK)
jedi =0.14.1 : 0.14.1 (OK)
nbconvert >=4.0 : 5.6.1 (OK)
numpydoc >=0.6.0 : 0.9.2 (OK)
pexpect >=4.4.0 : 4.8.0 (OK)
pickleshare >=0.4 : 0.7.5 (OK)
psutil >=0.3 : 5.6.7 (OK)
pygments >=2.0 : 2.5.2 (OK)
pylint >=0.25 : 2.4.4 (OK)
pyls >=0.31.2;<0.32.0 : 0.31.7 (OK)
zmq >=17 : 18.1.1 (OK)
qdarkstyle >=2.7 : 2.8 (OK)
qtawesome >=0.5.7 : 0.6.1 (OK)
qtconsole >=4.6.0 : 4.6.0 (OK)
qtpy >=1.5.0 : 1.9.0 (OK)
rtree >=0.8.3 : 0.9.3 (OK)
sphinx >=0.6.6 : 2.4.0 (OK)
spyder_kernels >=1.8.1;<2.0.0: 1.8.1 (OK)
watchdog : None (OK)
cython >=0.21 : 0.29.15 (OK)
matplotlib >=2.0.0 : 3.1.3 (OK)
numpy >=1.7 : 1.18.0 (OK)
pandas >=0.13.1 : 1.0.3 (OK)
scipy >=0.17.0 : 1.4.1 (OK)
sympy >=0.7.3 : 1.5.1 (OK)
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Can't open dataframes in variable explorer #13825 - GitHub
Can't open dataframe variables when opening them in variable explorer. An issue reporter window pops up: ... dataset not opened in variable explorer...
Read more >Newly-assignmed variables not showing up in Spyder's ...
Go to Variable explorer window. Then you have options button right hand side. Click on it,Untick the option Exclude all uppercase preferences as...
Read more >Variable Explorer — Spyder 5 documentation
Variable Explorer ¶. The Variable Explorer allows you to interactively browse and manage the objects generated running your code. Spyder Variable Explorer ......
Read more >Basic usage
BAM! We just made a variable explorer! If you run this code in the console it opens the DT::datatable in the RStudio's Viewer...
Read more >Working with Jupyter code cells in the Python Interactive window
Work with Jupyter-like code cells; Run code in the Python Interactive Window; View, inspect, and filter variables using the Variables Explorer and Data...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
updating pandas worked for me
Closing do to lack of response. If more info is available/a way to reproduce this is given please post it here and we will reopen it 😃