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

Tab completion of parameters of pandas.read_csv() fails. #11742

Open
EricDepagne opened this issue May 22, 2019 · 1 comment
Open

Tab completion of parameters of pandas.read_csv() fails. #11742

EricDepagne opened this issue May 22, 2019 · 1 comment

Comments

@EricDepagne
Copy link

EricDepagne commented May 22, 2019

Hi all.
I've come across a strange behaviour. I'm not sure if it's pandas related or ipython. If it's pandas, i'm happy to open an issue for them.
Here's my setup:
Jupyter QtConsole 4.4.3
Python 3.7.3 (default, Mar 26 2019, 21:43:19)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.5.0 -- An enhanced Interactive Python. Type '?' for help.

Here's my problem:
When I do :
plt.hist(bin<TAB> , I'm presented with the options to choose between bin and bins=

When I do :
pd.array(dt<TAB> , ipython autocompletes with dtype, as it's the only possibility

When I do :
np.histogram(ra<TAB> the options ipython shows are range and range=
This is the expected behaviour, and it works perfectly fine.

But then, if I do
pd.read_csv(de<TAB> nothing happens. I was expecting ipython to autocomplete in delimiter=.
None of the possible parameters of the pd.read_csv() method are auto completed.

It's the only function I've found to behave like this. pd.read_clipboard() autocompletes fine for instance.

@augustogoulart
Copy link

@meeseeksdev tag tab-completion

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

No branches or pull requests

2 participants