Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

Autocomplete not working (intellisense) for some dataframes #2095

Open
damienrj opened this issue Jun 29, 2020 · 2 comments
Open

Autocomplete not working (intellisense) for some dataframes #2095

damienrj opened this issue Jun 29, 2020 · 2 comments

Comments

@damienrj
Copy link

Environment data

Version: 1.46.1
Commit: cd9ea6488829f560dc949a8b2fb789f3cdc05f5d
Date: 2020-06-17T21:17:14.222Z
Electron: 7.3.1
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.5.0

Expected behaviour

https://code.visualstudio.com/assets/docs/editor/intellisense/intellisense.gif

Actual behaviour

setup

import pandas as pd
import numpy as np
df = pd.DataFrame(np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]),
                   columns=['a', 'b', 'c'])
df.to_parquet('test.pq')
df2 = pd.read_parquet('test.pq')

Autocomplete works for df. but for df2 you get no suggestions which clicking ctrl+space

@karthiknadig karthiknadig transferred this issue from microsoft/vscode-python Jun 30, 2020
@marcelorosensaft
Copy link

marcelorosensaft commented Jan 16, 2021 via email

@jakebailey
Copy link
Member

Consider trying https://github.com/microsoft/pylance-release instead, which includes full typing support and includes stubs for pandas.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants