Given this dataframe, how can I convert it to a tf-idf matrix?
Asked
Active
Viewed 232 times
0
-
This is a duplicate question. Perhaps you'll find this useful: https://stackoverflow.com/questions/37593293/how-to-get-tfidf-with-pandas-dataframe – Serial Lazer Nov 07 '20 at 13:02
-
@SerialLazer It's not – Tudor.Mano Nov 07 '20 at 13:06
-
Then I kindly suggest you explain your use-case better – Serial Lazer Nov 07 '20 at 13:07
-
Try TfidfTransformer from sklearn – Sergey Bushmanov Nov 07 '20 at 13:27