Skip to content

Instantly share code, notes, and snippets.

@liannewriting
Created January 21, 2020 19:29
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 liannewriting/404b09e3aaf92e6cc5e797f078345a63 to your computer and use it in GitHub Desktop.
Save liannewriting/404b09e3aaf92e6cc5e797f078345a63 to your computer and use it in GitHub Desktop.
data_cleaning_202001
# bar chart -  distribution of a categorical variable
df['ecology'].value_counts().plot.bar()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment