Skip to content

Instantly share code, notes, and snippets.

@ecdedios
Created August 10, 2022 03:53
Show Gist options
  • Save ecdedios/53d86590fa8c8d60d8ce56979fb99d3b to your computer and use it in GitHub Desktop.
Save ecdedios/53d86590fa8c8d60d8ce56979fb99d3b to your computer and use it in GitHub Desktop.
# sampling the data to select only 1000 tweets
df = df.sample(1000, random_state=493).reset_index(drop=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment