Twitter API with Python: Part 5 - Sentiment Analysis

August 4, 2018 comments 108 Reads

In this video, we will continue with our use of the Tweepy Python module and the code that we wrote.
We will be making use of the “TextBlob” module to do some rudimentary sentiment analysis on the tweets that we stream. The sentiment analysis engine provided by TextBlob is already trained on data, so we just need to apply it to our tweet data (once we clean the tweet appropriately). We then add the sentiment analysis information into our data frame.
Relevant Links:
Part 1:
Part 2:
Part 3:
Part 4:
Part 5:
Tweepy Website:
Cursor Docs:
API Reference:
GitHub Code for this Video:
My Website:
Do you like the development environment I’m using in this video? It’s a customized version of vim that’s enhanced for Python development. If you want to see how I set up my vim, I have a series on this here:
If you’ve found this video helpful and want to stay up-to-date with the latest videos posted on this channel, please subscribe: