Skip to content

Instantly share code, notes, and snippets.

@curiousily
Created April 23, 2020 19:39
Show Gist options
  • Save curiousily/16519785ef232120af53683399c15d4e to your computer and use it in GitHub Desktop.
Save curiousily/16519785ef232120af53683399c15d4e to your computer and use it in GitHub Desktop.
df_train = df[df['user_id'] <= 30]
df_test = df[df['user_id'] > 30]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment