Here’s one way:compound = []positive = []neutral = []negative = []for x in comments: x_comp = analyzer.polarity_scores(x)["compound"] x_pos = analyzer.polarity_scores(x)["pos"]…
Continue ReadingHere’s one way:compound = []positive = []neutral = []negative = []for x in comments: x_comp = analyzer.polarity_scores(x)["compound"] x_pos = analyzer.polarity_scores(x)["pos"]…
Continue Reading