pandas/jupyther notebook?

Jim Byrnes jf_byrnes at comcast.net
Wed Apr 7 17:32:51 EDT 2021


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

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



More information about the Python-list mailing list