-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Description
I first discovered this issue while trying to use nodejs-polars
in a Deno Jupyter kernel. Here's the example code for a notebook cell in Python:
from IPython.display import display
display(
{
"application/vnd.dataresource+json": {
"data": [
{"continent": "Africa", "total_pop_est": 993281878},
{"continent": "Antarctica", "total_pop_es": 3802},
{"continent": "Asia", "total_pop_es": 4085852698},
{"continent": "Europe", "total_pop_es": 728131201},
{"continent": "North America", "total_pop_es": 539350981},
{"continent": "Oceania", "total_pop_es": 33519610},
{"continent": "Seven seas (open ocean)", "total_pop_es": 140},
{"continent": "South America", "total_pop_es": 394355478}
],
"schema": {
"fields": [
{"name": "continent", "type": "string"},
{"name": "total_pop_est", "type": "integer"}
]
}
},
"text/html": "<table><thead><tr><th>continent</th><th>total_pop_est</th></tr></thead><tbody><tr><td>Africa</td><td>993281878</td></tr><tr><td>Antarctica</td><td>3802</td></tr><tr><td>Asia</td><td>4085852698</td></tr><tr><td>Europe</td><td>728131201</td></tr><tr><td>North America</td><td>539350981</td></tr><tr><td>Oceania</td><td>33519610</td></tr><tr><td>Seven seas (open ocean)</td><td>140</td></tr><tr><td>South America</td><td>394355478</td></tr></tbody></table>"
},
raw=True
)
Using the text/html
presentation works fine. But the application/vnd.dataresource+json
presentation does not, and produces basically nothing:
VS Code version: 1.85.1
Extension version: 1.0.17
OS: Windows 10
MasterPtato, airdrik, universalmind303, SC-CTS and jmflaherty
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug