Skip to content
Advertisement

vscode + python + interactive mode + variable explorer slow and inaccurate

I’m trying to switch from Spyder to VScode in order to integrate git into my workflow. However I’m running into some (I think related?) issues that I’d love some help with.

  1. Interactive mode and the variable explorer can take up to 20 seconds to define a=5
  2. the variable explorer really struggles to show me a dataframe with more than 100k rows.
  3. the variable explorer can’t open pandas index objects
  4. the variable explorer does not show the data as its stored, example: my EAN18 code’s had their last 2 digits transformed into a 0. It took me 3 hours to figure out that was what’s happening.

info: I’m using a conda environment

  • python 3.9.12
  • vscode 1.70
    • vscode python plugin v2022.12.1

I told VSCode to use my anaconda environment through: ctrl+shift+p –> python: select interpreter –> choosing my anaconda environment from the list

I cannot imagine anyone getting anything done with issues like these, so I must be doing something wrong. What could be a good place to start troubleshooting one or multiple of my issues?

Advertisement

Answer

The problem is related to my personal hardware and other aspects, posting this to try and accept this answer so I can delete this post.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement