Skip to content

Instantly share code, notes, and snippets.

@SubhadityaMukherjee
Created April 12, 2020 17:36
Show Gist options
  • Save SubhadityaMukherjee/a6ca1148ace1627ed747f6a2c007a37f to your computer and use it in GitHub Desktop.
Save SubhadityaMukherjee/a6ca1148ace1627ed747f6a2c007a37f to your computer and use it in GitHub Desktop.
age
age = pd.crosstab(index=matched["age_o"], columns="count").reset_index()
age.head(3)
sns.barplot(x=age["age_o"], y=age["count"]).set_xticklabels(
rotation=45, labels=age["age_o"]
)
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment