Skip to content

Instantly share code, notes, and snippets.

@andrea-dagostino
Last active November 23, 2021 16:36
Show Gist options
  • Save andrea-dagostino/f04f7e85fdd1aace93435fbaa6956af8 to your computer and use it in GitHub Desktop.
Save andrea-dagostino/f04f7e85fdd1aace93435fbaa6956af8 to your computer and use it in GitHub Desktop.
posts/raggruppamento-testuale-con-tf-idf Raw
df['cleaned'] = df['corpus'].apply(lambda x: preprocess_text(x, remove_stopwords=True))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment