Skip to content

Instantly share code, notes, and snippets.

@jeetaf
Created June 28, 2021 12:27
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 jeetaf/02588f290bb4c96838b669e011aee00c to your computer and use it in GitHub Desktop.
Save jeetaf/02588f290bb4c96838b669e011aee00c to your computer and use it in GitHub Desktop.
train_dataset = dataset.sample(frac=0.8,random_state=0)
test_dataset = dataset.drop(train_dataset.index)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment