Skip to content

Instantly share code, notes, and snippets.

@brenoimatos
Created January 7, 2021 20:43
Show Gist options
  • Save brenoimatos/4568b69a14ff811f678eba5046fe444d to your computer and use it in GitHub Desktop.
Save brenoimatos/4568b69a14ff811f678eba5046fe444d to your computer and use it in GitHub Desktop.
df["tokens"] = df.lyrics_clean.str.split()
df.set_index('artist', inplace = True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment