pandas/jupyther notebook?

Thomas Jollans tjol at tjol.eu
Fri Apr 9 04:29:44 EDT 2021


On 07/04/2021 23:32, Jim Byrnes wrote:
> linux mint 20
> python 3.8
> jupyter 1.0.0
> jedi 0.18.0
>
> I am teaching myself pandas/jupyter notebooks. The problem I am having 
> is tab autocomplete seems to be working erratically.
>
> Googling shows that most people solve autocomplete problems by putting
>
>  import pandas as pd
> %config Completer.use_jedi = False

One solution is to downgrade to jedi 0.17.2


>
> in the first cell. I have done that and still have the following problem.
>
> if I type: df = pd.read<tab> it will drop down a list box that has 
> read_csv in it. If I then type: emp<tab> it will fill in 
> employees.csv. If I type: df.h<tab> type head, but if I type:
>
> df['Gender'] = df['Gender'].ast  it will not complete astype.
>
> I wonder if someone can tell me why this is happening and maybe how to 
> fix it.
>
> Thanks,  Jim
>

-- 
Dr. Thomas Jollans

m ☎ +49 6201 8759879
e ✉ tjol at tjol.eu



More information about the Python-list mailing list