Categorical plots for ordinal features

PHOTO EMBED

Tue Mar 15 2022 11:06:30 GMT+0000 (UTC)

Saved by @abhin__dev #undefined

# Generate categorical plots for ordinal features
for col in ['Pclass', 'SibSp', 'Parch']:
    sns.catplot(x=col, y='Survived', data=titanic, kind='point', aspect=2, )
    plt.ylim(0, 1)
content_copyCOPY

http://localhost:8888/notebooks/Desktop/Python/Ex_Files_Applied_ML/Ex_Files_Applied_ML/Exercise Files/03_Explore_Data/03_03/Begin/03_03.ipynb