Pandas Series index wrong in Variable Explorer
See original GitHub issueProblem Description
When viewing a Series in the variable explorer, sorting the series or the index does not change the index displayed
What steps reproduce the problem?
- Double Click a Pandas Series in the Variable Explorer to Open the floating pane
- Sort the series either up or down on values, or up or down on index
- Index does not change
What is the expected output? What do you see instead?
Expected output–index order will change when the series is sorted in various ways.
Actual output:
Paste Traceback/Error Below (if applicable)
NONE
Versions
Spyder 4.1.4
Python 3.7.6 64-bit
Qt 5.9.6
PyQt5 5.9.2
Windows 10
Dependencies
# Mandatory:
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.17.1 : 0.17.1 (OK)
nbconvert >=4.0 : 5.6.1 (OK)
numpydoc >=0.6.0 : 0.9.2 (OK)
paramiko >=2.4.0 : 2.7.1 (OK)
parso =0.7.0 : 0.7.0 (OK)
pexpect >=4.4.0 : 4.8.0 (OK)
pickleshare >=0.4 : 0.7.5 (OK)
psutil >=5.3 : 5.6.7 (OK)
pygments >=2.0 : 2.5.2 (OK)
pylint >=1.0 : 2.4.4 (OK)
pyls >=0.34.0;<1.0.0 : 0.34.1 (OK)
qdarkstyle >=2.8 : 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.3.1 (OK)
spyder_kernels >=1.9.2;<1.10.0 : 1.9.2 (OK)
watchdog : None (OK)
zmq >=17 : 18.1.1 (OK)
# Optional:
cython >=0.21 : 0.29.13 (OK)
matplotlib >=2.0.0 : 3.2.1 (OK)
numpy >=1.7 : 1.17.4 (OK)
pandas >=0.13.1 : 1.0.3 (OK)
scipy >=0.17.0 : 1.5.0 (OK)
sympy >=0.7.3 : 1.5.1 (OK)
# Spyder plugins:
spyder_terminal : 0.3.1 (OK)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Python shows ['variable'] not in index, but 'variable' is in
May someone know if I'm doing something wrong? I'm a very rookie but I've loaded CSV files in python before and worked with...
Read more >Indexing and selecting data - Pandas
A boolean array (any NA values will be treated as False ). A callable function with one argument (the calling Series or DataFrame)...
Read more >Python Pandas - Series
Index values must be unique and hashable, same length as data. Default np.arrange(n) if no index is passed. 3. dtype. dtype is for...
Read more >Pandas Index Explained
And these methods use indexes, even most of the errors we face are indices error. Index become more important in time series data....
Read more >How to Use Pandas Reset Index
A Pandas DataFrame is a data structure in Python. DataFrames have a row-and-column structure. Variables are along the columns, ...
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
@ccordoba12 The entire spyder team ROCKS with support! Thank you!
What about the bagground color? in the DataFrame with size (123531, 49) SPyder 3,9