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

Autocomplete not working (intellisense) for some dataframes #2095

Open

Description

@damienrj

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

Activity

  1. marcelorosensaft commented on Jan 16, 2021

    @marcelorosensaft
  2. jakebailey commented on Jan 19, 2021

    @jakebailey
    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions