pappasam / coc-jedi

coc.nvim wrapper for https://github.com/pappasam/jedi-language-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Completion for modified objects not always working

oli666 opened this issue · comments

commented

Completion stops working for numpy or pandas objects after a modification of the object happens
Completion always works for modfiied objects of basic types like str

import pandas as pd
df = pd.DataFrame({"Name": ["John", "Jim", "Tim"], "Age": [20, 21, 22], "Gender": [0, 0, 0]})

Completion for df. ... works

df = df.iloc[0:2, :]

Completion for df. ... does NOT work

o = "oli"

Completion for o. ... works

o = o.capitalize()

Completion for o. ... works`

I also encountered this problem, not only pandas, but also numpy