I have to classify some sentiments my data frame is like this
Phrase Sentiment
is it good movie positive
wooow is it very goode positive
bad movie negative
I did some preprocessing as tokenisation stop words stemming etc ... and I get
Phrase Sentiment
[ good , movie ] positive
[wooow ,is , it ,very, good ] positive
[bad , movie ] negative
I need finally to get a dataframe in which the line are the text which the value is the tf_idf and the columns are the words like that
good movie wooow very bad Sentiment
tf idf tfidf_ tfidf tf_idf tf_idf positive
(same thing for the 2 remaining lines)