Skip to content
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

DataViewer for pandas dataframes is not usable at all #11679

Closed
2 tasks
zljubisic opened this issue Oct 17, 2022 · 4 comments
Closed
2 tasks

DataViewer for pandas dataframes is not usable at all #11679

zljubisic opened this issue Oct 17, 2022 · 4 comments
Labels
bug Issue identified by VS Code Team member as probable bug data-viewer

Comments

@zljubisic
Copy link

Applies To

  • Notebooks (.ipynb files)
  • Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?

Let's say that I am debugging a test and I would like to see the dataframe content:

image

If I open it in DataViewer it looks like this:

image

  1. opening of the dataframe in DataViewer is very slow
  2. it is opened in the tab instead to be in a separate window as wide as possible with maximum hight
  3. all columns are too narrow (about 10 characters wide) and there is no way to adjust a single column or all columns width to their contents

If I widen columns by hand:

image

After pressing "refresh", columns are narrow again.

image

Now consider this dataframe as toy example. Try to think how this would look like if I have a dataframe with 10 millions of rows and 100 columns (which is something quite usual in data science world).

PyCharm has a solution for it:

  1. showing a dataframe is fast
  2. it is opened in its own window that you can enlarge at will
  3. all columns are much wider and they can be even resized automatically

image

Until you solve these problems, no one will use DataViewer for dataframes in vscode.

VS Code Version

Version: 1.72.2 (user setup) Commit: d045a5eda657f4d7b676dedbfa7aab8207f8a075 Date: 2022-10-12T22:15:18.074Z Electron: 19.0.17 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Windows_NT x64 10.0.19044 Sandboxed: No

Jupyter Extension Version

Not related

Jupyter logs

No response

Coding Language and Runtime Version

Python 3.10.4 (main, Mar 31 2022, 08:41:55) [GCC 7.5.0] on linux

Language Extension Version (if applicable)

Python v2022.16.1

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

No response

@zljubisic zljubisic added the bug Issue identified by VS Code Team member as probable bug label Oct 17, 2022
@amunger amunger assigned IanMatthewHuff and unassigned amunger Oct 17, 2022
@zljubisic
Copy link
Author

After more than a week, can you please provide some update?

@IanMatthewHuff IanMatthewHuff removed their assignment Nov 10, 2022
@DonJayamanne
Copy link
Contributor

I'm sorry this hasn't been prioritzed yet. I agree this could be improved

@DonJayamanne
Copy link
Contributor

DonJayamanne commented Dec 8, 2022

showing a dataframe is fast => #1139
Rest of the suggestions have been moved here #1148 (comment)

@DonJayamanne
Copy link
Contributor

Clo

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug data-viewer
Projects
None yet
Development

No branches or pull requests

4 participants