I'm working on titanic data right now, using pandas. Funny thing is, when dealing with missing values, drorpna() does not work but notna() does.
temp.Embarked.dropna(inplace = True)
temp.isnull().sum()
Embarked 2
temp = temp[temp['Embarked'].notna()]
temp.isnull().sum()
Embarked 0