question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dataframe columns autocomplete doesn't work in interactive window after extension update (jupytext mode)

See original GitHub issue

Issue Type: Bug


image

Code
# %%
import pandas as pd

# %%
df = pd.DataFrame(
    {
        "firstname": [1, 2, 3],
        "lastname": [1, 2, 3],
        'patronymic': [1, 2, 3]
    }
)

# %%
df

Extension version: 2021.8.1195043623 VS Code version: Code 1.59.0 (379476f0e13988d90fab105c5c19e7abc8b1dea8, 2021-08-04T23:13:20.182Z) OS version: Linux x64 5.8.0-63-generic snap Restricted Mode: No

System Info
Item Value
CPUs AMD Ryzen 5 4600H with Radeon Graphics (12 x 1722)
GPU Status 2d_canvas: unavailable_software
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: disabled_off
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
Load (avg) 1, 1, 1
Memory (System) 15.08GB (0.50GB free)
Process Argv –no-sandbox --force-user-env --unity-launch --crash-reporter-id 417bce1b-d3f2-43a2-bf1b-e2eb11a9b3f6
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE x11
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspyt653:30270858
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
pythonvsuse255:30340121
vscod805:30301674
pythonvspyt200:30340761
vscextlang:30333561
binariesv615:30325510
vsccppwt:30329788
pythonvssor306:30344512
bridge0708:30335490
vstre464cf:30346473

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
janoshcommented, Aug 7, 2021

The df column autocomplete was powered by Jupyter in the old webview: https://github.com/microsoft/vscode-jupyter/issues/1561#issuecomment-762983741. Maybe gives some hint about where the regression might have happened.

1reaction
greazercommented, Aug 7, 2021

In the meantime while we’re investigating, you can rollback to the old implementation with this setting:

    "jupyter.enableNativeInteractiveWindow": false
Read more comments on GitHub >

github_iconTop Results From Across the Web

Vscode autocompletion doesn't work for Jupyter Notebook
I recently started using Jupyter Notebooks on vscode but ...
Read more >
jupytext - PyPI
We find out that the columns of the data frame were not in the correct order. We update the corresponding cell, and get...
Read more >
How an ideal IDE for Python notebooks should look like?
VSCode has interactive mode where you can run files as scripts or as parts ... Dataspell peak features: autocomplete of pandas column name ......
Read more >
Why Jupyter is data scientists' computational notebook of choice
When I see stuff around notebooks for "reproducibility", I'm a bit confused in that notebooks often don't specify any guidance on installation ...
Read more >
How to enable Autocompletion in Jupyter Notebook application
The RDP Libraries are available in the following programming languages: Refinitiv Supported Editions: Python and TypeScript/JavaScript (coming ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found