Skip to content

Instantly share code, notes, and snippets.

@lauramsfernandes
Created May 31, 2021 20:44
Show Gist options
  • Save lauramsfernandes/60ca98565390b70a7ca911c37d645251 to your computer and use it in GitHub Desktop.
Save lauramsfernandes/60ca98565390b70a7ca911c37d645251 to your computer and use it in GitHub Desktop.
df = pd.get_dummies(df, drop_first=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment