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

Completion candidates inferred from type annotations in functions #1120

Closed
NahsiN opened this issue May 14, 2018 · 2 comments
Closed

Completion candidates inferred from type annotations in functions #1120

NahsiN opened this issue May 14, 2018 · 2 comments

Comments

@NahsiN
Copy link

NahsiN commented May 14, 2018

I apologize if this has been raised in the past but consider the following

import pandas as pd

def foo(df: pd.DataFrame):
    df.he

Does jedi (python3 version) support autocompletion in this case? It should suggest head.

@davidhalter
Copy link
Owner

It's not that easy if you look at the code of DataFrame. There are a couple of pandas issues open and I think the fix for these things is probably something like #626. But it might take a while.

@davidhalter
Copy link
Owner

Closing it, because the issue is known and part of some other pandas issues about speed and pandas completions. It's also not something that Jedi can naturally understand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants