参考:https://www.kaggle.com/kabure/titanic-eda-model-pipeline-keras-nn#notebook-container
分析“票价”与“是否生存” 之前的关系
sns.distplot(train.loc[train['Survived']==0]['Fare'],bins=50,color='r') sns.distplot(train.loc[train['Survived']==1]['Fare'],bins=50,color='g') plt.show()