Variable explorer is very slow
See original GitHub issueThe variable explorer in Spyder 5.1.1 performs very slowly. Consider the following example:
my_list = []
for i in range(300):
# already slow
# my_list.append(i)
# more complex list --> even slower variable explorer
a = (i, (2*i, 3*i, 4*i))
my_list.append(a)
The list my_list
appears correctly in the variable explorer. But it is almost impossible to inspect the list in the variable explorer, the respective dialog freezes constantly. Problems can be observed already for the simple test case and are more severe for the complex list. I observed this behavior on two different computers with fresh installations. Inspecting the same list in Spyder 3.3.6 is no problem.
Issue Analytics
- State:
- Created 2 years ago
- Comments:21 (17 by maintainers)
Top Results From Across the Web
Variable Explorer very slow with large dataframe · Issue #12575
Variable Explorer is extremely slow in a dataframe containing 30k+ rows. It's nearly nstantaneous in Spyder 3.3.3. Scrolling is extremely laggy, ...
Read more >Why is VSCode Data Viewer so slow? - Reddit
Unfortunately, the Data Viewer on VSCode is very very slow. The variables are not updated in real time, it has some delay to...
Read more >vscode + python + interactive mode + variable explorer slow ...
the variable explorer does not show the data as its stored, example: my EAN18 code's had their last 2 digits transformed into a...
Read more >Variable explorer slow to open in spyder 4 with large dataframes
However, I have noticed that moderately large data frames are very. slow to open in the variable explorer. For instance, the data frame...
Read more >Coding workflow with VSCode - TechyTok
Variable explorer Permalink. In many cases, it might not be practical or you might not want to write the code to print a...
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 FreeTop 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
Top GitHub Comments
@ccordoba12 @dalthviz Thanks for investigating this issue. As suggested, I tried the following commands to install Spyder:
As expected, this improved the performance significantly. The variable explorer still seems to be a little bit slower than it was in Spyder 3, but is now much faster than before.
Yeah, it could be something like that. I’ll check to see if I can fix it in 5.1.2.
In addition, after uninstalling Pandas, Numpy and Scipy from my environment, I can also reproduce this problem on Linux.