Skip to content

In this project, the goal is to create a Python script to perform a sentiment analysis of the Twitter activity of various news outlets and to present your findings visually.

BobbyTaylor82/Python_Challenge_Twitter_API

Repository files navigation

Distinguishing Sentiments

Instructions: In this assignment, the goal is to create a Python script to perform a sentiment analysis of the Twitter activity of various news outlets and to present your findings visually.

libraries used:

  • tweepy
  • numpy
  • pandas
  • datetime
  • matplotlib
  • seaborn
  • vaderSentiment.vaderSentiment

Plots

png

png

Relationship Plot for Polarity Scores

png

Conclusion

While performing a sentiment analysis for Tweets from various news outlets, I noticed a few different insights. The insights are below:

Insights

  • In the Correlation Plot for Polarity Scores, there is a correlation between positive and negative polarities. As the positivity decreased the negative polarities increased for each media source.
  • In the Overall Media Sentiment Analysis Plot, CNN appears to have more negative compound tweets.

  • BBC has the highest positive polarity scores when compared to all other media sources.

About

In this project, the goal is to create a Python script to perform a sentiment analysis of the Twitter activity of various news outlets and to present your findings visually.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published