microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.28k stars 290 forks source link

Data Viewer can't filter multi-index #12829

Open notuntoward opened 1 year ago

notuntoward commented 1 year ago

Applies To

What happened?

Filtering by multi-index doesn't work on the Data Viewer. The first screenshot shows how an example multi-index dataframe is displayed in a Jupyter notebook celI output. The screenshot shows what that dataframe looks like in the Data Viewer to display.

If I type '0' into the Data Viewer index filter box, I do see all the rows that have a 0 in the first tuple of their index. But if I type "0,4", the display doesn't narrow down to only entries with a tuple of (0,4); instead, the display is unchanged. If I instead type (0,4), then no rows are displayed at all.

image image

VS Code Version

Version: 1.75.1 (user setup) Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf Date: 2023-02-08T21:32:34.589Z Electron: 19.1.9 Chromium: 102.0.5005.194 Node.js: 16.14.2 V8: 10.2.154.23-electron.0 OS: Windows_NT x64 10.0.22621 Sandboxed: No

Jupyter Extension Version

v2023.1.2010391206

Jupyter logs

No response

Coding Language and Runtime Version

Python v3.9.7

Language Extension Version (if applicable)

Python v2023.2.0

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

Local

amunger commented 10 months ago

closing for https://github.com/microsoft/vscode/issues/165445

DonJayamanne commented 10 months ago

@amunger isn’t the issue you mentioned about variable viewer Ie once variable viewer is added then that issue gets closed and this will bug not get resolved

amunger commented 10 months ago

oops, I just looked at the first screenshot and thought it was about the variable viewer