Skip to content

Instantly share code, notes, and snippets.

@ericgitonga
Created May 25, 2021 10:07
Show Gist options
  • Save ericgitonga/d2cc191951241592f4de05a6cd17105e to your computer and use it in GitHub Desktop.
Save ericgitonga/d2cc191951241592f4de05a6cd17105e to your computer and use it in GitHub Desktop.
Code to copy Remote to both City and State
df.loc[df['City'] == 'Remote', 'State'] = 'Remote'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment