-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data Viewer option does not exist #15527
Comments
Hi @smurpau, the data viewer debugger integration is available as an experiment. Are you opted out of all experiments in your settings.json? If so that would explain why you aren't seeing 'View Value in Data Viewer' in the debug context menu. If you add the following setting to your user settings.json and reload VS Code for the new setting to take effect, does the data viewer option appear?
|
Hi @joyceerhl, yes indeed, I forgot I opted out of all experiments due to a pythonPath/condaPath issue as I recall. The data viewer works great now, thanks. |
I cant see the DataViewer in the context menu on variables containing geodataframes (geopandas). Normal dataframes from pandas are working without problems. Any ideas what could be the reason for this? VSCode and all the pyhton modules are at the latest version. |
That's because the data viewer doesn't support geodataframes right now. Feel free to file an issue on us at https://github.com/microsoft/vscode-jupyter. Alternatively, if you'd like to send us a PR, this comment describes how you could implement support for geodataframes. |
Environment data
VS Code version: 1.53.2
Extension version (available under the Extensions sidebar): 2021.2.582707922
OS and version: Windows_NT x64 10.0.17763
Python version (& distribution if applicable, e.g. Anaconda): 3.9.2
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): Poetry
Relevant/affected Python packages and their versions: pandas 1.22
Relevant/affected Python-related VS Code extensions and their versions:
Jupyter 2021.2.603412351
Python Test Explorer for Visual Studio Code: 0.6.6
Value of the
python.languageServer
setting: JediExpected behaviour
As described in the release notes, a "View in Data Viewer" option should appear when right clicking on a pandas dataframe.
Actual behaviour
No option is available:
I'm on a February 2021 release, so I'm at a loss as to why this functionality doesn't appear
Steps to reproduce:
Launch Python File debugger on the following example, with a breakpoint on the last line:
The text was updated successfully, but these errors were encountered: