Skip to content

Instantly share code, notes, and snippets.

@ericgitonga
Created May 25, 2021 10:06
Show Gist options
  • Save ericgitonga/c27cd5ad26128ed13183b1bbbfa6f058 to your computer and use it in GitHub Desktop.
Save ericgitonga/c27cd5ad26128ed13183b1bbbfa6f058 to your computer and use it in GitHub Desktop.
Code to get rid of entries with United States in the City column
df = df[df['City'] != 'United States']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment