oledb is code example
Example 1: OLE DB
train_data.Embarked[train_data.Embarked.isnull()] = train_data.Embarked.dropna().mode().values
Example 2: OLE DB
train_data[['Sex','Survived']].groupby(['Sex']).mean().plot.bar()
train_data.Embarked[train_data.Embarked.isnull()] = train_data.Embarked.dropna().mode().values
train_data[['Sex','Survived']].groupby(['Sex']).mean().plot.bar()