Skip to content

Instantly share code, notes, and snippets.

@douglaspsteen
Created September 5, 2020 18:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save douglaspsteen/cc87b0fc2af948a0867051f24aa4668e to your computer and use it in GitHub Desktop.
# Separate X and y data
X = df.drop('target', axis=1)
y = df.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment