Skip to content

Instantly share code, notes, and snippets.

@vineethm1627
Last active November 15, 2020 11:23
Show Gist options
  • Save vineethm1627/f685196074709e3fe921a771947c302b to your computer and use it in GitHub Desktop.
Save vineethm1627/f685196074709e3fe921a771947c302b to your computer and use it in GitHub Desktop.
cols = ['EducationField']
data = pd.get_dummies(data, columns = cols, prefix = cols)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment