1. Learn
  2. /
  3. Courses
  4. /
  5. Analyzing Social Media Data in Python

Connected

Exercise

Plotting sentiment scores

Lastly, let's plot the sentiment of each hashtag over time. This is largely similar to plotting the prevalence of tweets.

Instructions

100 XP
  • Plot a line for #python usage with sentiment_py. Use sentiment_py.index.day as the x-axis.
  • Do the same with sentiment_r.