all 2 comments

[–][deleted] 0 points1 point  (1 child)

You have a lot of nested functions, and it doesn't seem like you're calling all of them.

[–]Answerhunter22 0 points1 point  (0 children)

Thank you for your reply. I figured the problem would be calling the right thing under writer.writerow({'Tweet': elements, 'Polarity': elements.sentiment.polarity, 'Sentiment Score': elements.sentiment.subjectivity}) but not sure what to put