Intellisense - Problem with Pandas new object
Answered
Win 10 / PyCharm 2016.3 Community / pandas 19.2
PyCharm doesn't seem to see new Pandas DataFrame Objects therefore not providing intellisense for them.
Quick example:
import pandas as pd
import numpy as np
pd.set_option('display.width',320)
names = ['user_id','movie_id','rating']
movies = pd.read_csv('../1/u.data', sep='\t',names=names,usecols=range(3))
cols = ['movie_id','title']
movies2 = pd.read_csv('../1/u.item',sep='|',usecols=range(2),encoding = 'ISO-8859-1',names=cols)
imdb = pd.merge(movies,movies2,on='movie_id')
print(type(imdb))
imdb.
In above example I'm simply loading 2 CSVs and merging them creating imdb object. It is new DataFrame as print returns:
<class 'pandas.core.frame.DataFrame'>
however after typing 'imdb.' intellisense just suggest if/ifn/ifnn ... like it would not recognize this object type.
Am I doing something wrong or is this a bug ??
Please sign in to leave a comment.
Hello,
Please vote for https://youtrack.jetbrains.com/issue/PY-21985 to increase its priority and be notified about updates.