python-language-server
python-language-server copied to clipboard
Autocomplete not working (intellisense) for some dataframes
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
I hope this message gets to the right place because I cannot find the thread in Github.
I installed Pylance and since then everything works fine.
Good luck, Marcelo
From: Sutyke [email protected] Sent: שבת 16 ינואר 2021 19:27 To: microsoft/python-language-server [email protected] Cc: Marcelo Rosensaft [email protected]; Manual [email protected] Subject: Re: [microsoft/python-language-server] Autocomplete not working (intellisense) for some dataframes (#2095)
Is there any progress on this issue? For me Auto Complete on data frame doesn't work at all.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/python-language-server/issues/2095#issuecomment-761601404, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARHKCXLQH3U4S4A55RCMX7TS2HD6PANCNFSM4OMPSMVQ.
Consider trying https://github.com/microsoft/pylance-release instead, which includes full typing support and includes stubs for pandas.