Skip to content

Instantly share code, notes, and snippets.

@AyishaR
Created January 30, 2021 17:34
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 AyishaR/3239790a1aceecadb3f14bb35eb19f5c to your computer and use it in GitHub Desktop.
Save AyishaR/3239790a1aceecadb3f14bb35eb19f5c to your computer and use it in GitHub Desktop.
y = pd.get_dummies(df['Category0'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment