Skip to content

Instantly share code, notes, and snippets.

@liannewriting
Created January 21, 2020 19:31
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/f4241e24b0578f18985c9821e4d6c47a to your computer and use it in GitHub Desktop.
Save liannewriting/f4241e24b0578f18985c9821e4d6c47a to your computer and use it in GitHub Desktop.
data_cleaning_202001
# make everything lower case.
df['sub_area_lower'] = df['sub_area'].str.lower()
df['sub_area_lower'].value_counts(dropna=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment