Skip to content

Instantly share code, notes, and snippets.

@brenoimatos
Created January 7, 2021 20:43
Show Gist options
  • Select an option

  • Save brenoimatos/4568b69a14ff811f678eba5046fe444d to your computer and use it in GitHub Desktop.

Select an option

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