Vscode: Current support for data scientists is not enough

Created on 3 Dec 2017  路  7Comments  路  Source: microsoft/vscode

I'm a data modeler and I have been using Rstudio,MATLAB and Spyder for years, I've already attempted to use jupyter notebook, but i can't even create a project with notebook, then i started programming in text editor like sublime,Atom and vscode, and finally I was attracted by vscode.

I can open a new window for jupyter qtconsole from the terminal in vscode, but I wish I can use qtconsole in vscode rather than open a new window. Of course I can start original ipython in vscode, but ipython will open a new window for image when I plot function curves.

vscode is a brilliant text editor, and it will be more powerful for data scientists with a qtconsole in vscode.

*extension-candidate feature-request

Most helpful comment

Please look at spyder -- especially its Variable Explorer:
https://pythonhosted.org/spyder/variableexplorer.html
I know we can use VSC's debugger, but you have to run the entire script and you cannot edit.
I know we can set breakpoints in the VSC debugger, but since we can "Run selection/line in integrated terminal," it would be so much more convenient to be able to explore the object(s) in the integrated terminal.

Please also look at RStudio. "Data people" there are begging them to also support Python:
https://community.rstudio.com/t/r-python-in-ide/279
but I do not think that this will happen to the community's satisfaction soon (through various "workarounds," there currently are some "emulations"). It would be nice for VSC could add a "variable explorer" (especially for pandas DataFrames). Then for data scientists, it would look a lot more like sypder and/or RStudio.

All 7 comments

@deerainw
Since QTConsole is based on QT GUI framework, it needs to run in an environment where the window
is controlled by QT and can output the GUI objects. The integrated terminal in VSC is based on
xterm which is a character based console interface. I think that the only way to support QT
would require an extension. Even an extension probably cannot directly to this since the extensions
need to render HTML content within the interface.

Please look at spyder -- especially its Variable Explorer:
https://pythonhosted.org/spyder/variableexplorer.html
I know we can use VSC's debugger, but you have to run the entire script and you cannot edit.
I know we can set breakpoints in the VSC debugger, but since we can "Run selection/line in integrated terminal," it would be so much more convenient to be able to explore the object(s) in the integrated terminal.

Please also look at RStudio. "Data people" there are begging them to also support Python:
https://community.rstudio.com/t/r-python-in-ide/279
but I do not think that this will happen to the community's satisfaction soon (through various "workarounds," there currently are some "emulations"). It would be nice for VSC could add a "variable explorer" (especially for pandas DataFrames). Then for data scientists, it would look a lot more like sypder and/or RStudio.

@kumueric . I couldn't agree more. PyCharm has some support for variable explorer and pandas data frames. This is a must for data modeling in Python.

Integrated console (with intellisense) and ability to display graphs and tables would be extremely helpful to Python and R users

@MikhailArkhipov the terminal is built using xterm.js, and looks like there's no immediate plan to support this (https://github.com/xtermjs/xterm.js/issues/614#issuecomment-362180939). Hopefully this will change.

@omri374 is there any status on a PyCharm-like explorer window for pandas? Would be great to have a colorful and scrollable DataFrame object.

We try to keep VS Code lean and we think the functionality you're asking for is great for a VS Code extension. Maybe you can already find one that suits you in the VS Code Marketplace. Just in case, in a few simple steps you can get started writing your own extension. See also our issue reporting guidelines.

Happy Coding!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mrkiley picture mrkiley  路  3Comments

DovydasNavickas picture DovydasNavickas  路  3Comments

curtw picture curtw  路  3Comments

VitorLuizC picture VitorLuizC  路  3Comments

villiv picture villiv  路  3Comments