-
Notifications
You must be signed in to change notification settings - Fork 767
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
pandas: loc indexer not return the correct type of object #660
Comments
@RuixiangLiu01, could you please add a code snippet for this so that we could repro? |
Thanks for reply. Here is a simple example: I am not sure is it helpful for u |
This is a non-trivial fix; right now things only work as well as they do because of a bug :-( There's a bunch of complexity around this kind of indexing that I need to think through. |
This issue has been fixed in version 2021.5.0, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md#202150-5-may-2021 |
Hi, developer. I meet a problem when using 'loc' to select some columns, it seems 'loc' doesn't return the a DataFrame for me
![image](https://user-images.githubusercontent.com/37862626/100577159-93fe1280-331a-11eb-9f7d-ebe9a1b3edf5.png)
![image](https://user-images.githubusercontent.com/37862626/100577215-ae37f080-331a-11eb-9622-38f9ca2b65e0.png)
any advise would be appreciated, thanks
The text was updated successfully, but these errors were encountered: