Skip to content

Instantly share code, notes, and snippets.

@vanbrands
Created July 10, 2020 01:45
Show Gist options
  • Save vanbrands/e4d35c93a135d6b40e32f88374556589 to your computer and use it in GitHub Desktop.
Save vanbrands/e4d35c93a135d6b40e32f88374556589 to your computer and use it in GitHub Desktop.
dummies = pd.get_dummies(df['categorical_column'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment