0

How do I export the results of my top2vec analysis to a CSV or Excel file that includes a column with a unique ID for each of my documents and a column with the top2vec topic code? I am a beginner and don't know how to do this at all -- please dumb down responses!

A complicating factor is that I had to remove the unique IDs from the CSV source file because they are integers (top2vec gave me an error that it needed to be a list of strings). Not sure how to work around that as I assume I need to keep the unique IDs for this to work.

I found a seemingly related post here: Top2Vec reassign topics to original df. Couldn't get ideas there to work. It does seem more or less what I'm looking for though.

Thanks!

0 Answers0