Skip to content

Instantly share code, notes, and snippets.

@sgsg704
Created September 9, 2021 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sgsg704/406b630a55ccc6f5fc14e5ed70982088 to your computer and use it in GitHub Desktop.
Save sgsg704/406b630a55ccc6f5fc14e5ed70982088 to your computer and use it in GitHub Desktop.
#Evauating age distrivution
plt.figure(figsize=(20,12))
#colours =["#774571","#b398af","#f1f1f1" ,"#afcdc7", "#6daa9f"]
Days_of_week=sns.countplot(x=data['age'],data=data, hue ="DEATH_EVENT",palette = cols)
Days_of_week.set_title("Distribution Of Age", color="#774571")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment