Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete provides incorrect name for select_dtypes method of pandas #405

Closed
saurabh-c-rai opened this issue Sep 23, 2020 · 2 comments
Closed
Assignees
Labels
fixed in next version (main) A fix has been implemented and will appear in an upcoming version typestub Issue relating to our bundled type stubs

Comments

@saurabh-c-rai
Copy link

Issue Type: Bug

  1. Create a dataframe df.
  2. using dot notation check the name of the option provided for select_dtypes method
    Eg. df = pd.read_csv(....)
    Try to find autocomplete for select_dtypes method
    image

Extension version: 2020.9.5
VS Code version: Code 1.49.1 (58bb7b2331731bf72587010e943852e13e6fd3cf, 2020-09-16T23:27:51.792Z)
OS version: Windows_NT x64 10.0.17763

System Info
Item Value
CPUs Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz (4 x 3408)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.87GB (1.17GB free)
Process Argv --crash-reporter-id c5cdd6d1-5f58-4ecc-a12e-42f7f1593127
Screen Reader no
VM 0%
@jakebailey jakebailey added the typestub Issue relating to our bundled type stubs label Sep 23, 2020
@github-actions github-actions bot removed the triage label Sep 23, 2020
@gramster
Copy link
Member

Interesting; I believe selectDTypes came from the Pandas source so there may be some munging that pandas does. I'll fix this in the stubs though. Thanks for reporting!

@jakebailey jakebailey added the fixed in next version (main) A fix has been implemented and will appear in an upcoming version label Sep 25, 2020
@jakebailey
Copy link
Member

This issue has been fixed in version 2020.9.7, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/master/CHANGELOG.md#202097-30-september-2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed in next version (main) A fix has been implemented and will appear in an upcoming version typestub Issue relating to our bundled type stubs
Projects
None yet
Development

No branches or pull requests

3 participants