python-language-server icon indicating copy to clipboard operation
python-language-server copied to clipboard

Pandas - Intellisense doesn't show Attributes/methods of the Pandas object

Open Episkiliski opened this issue 4 years ago • 0 comments

Environment data

  • VS Code version: 1.46.1
  • Extension version (available under the Extensions sidebar): 2020.6.90262
  • OS and version: Windows 7 64bits
  • Python version (& distribution if applicable, e.g. Anaconda): 3.8.3 - Conda
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): Conda environment
  • Relevant/affected Python packages and their versions: Pandas 1.0.5
  • Relevant/affected Python-related VS Code extensions and their versions: Visual Studio Intellicode 1.2.8
  • Value of the python.languageServer setting: Microsoft

Expected behaviour

Intellisense to show attributes/methods of a created Pandas dataframe.

Actual behaviour

After importing Pandas, when creating a pandas dataframe, Intellisense doesn't show the available attributes/methods of the created object.(Image 2, where I try to use the .head() function).

It detects the module pd(pandas) methods without any problem (see Image 1).

I don't have this problem when running a Jupyter Notebook or Jupyter Lab on the browser.

Steps to reproduce:

IMAGE 01 Pandas_01

IMAGE02 Pandas_02

Episkiliski avatar Jun 29 '20 14:06 Episkiliski