Skip to content

Analyzing Trump's tweets using Python (Pandas + Twitter workshop)

License

Notifications You must be signed in to change notification settings

RodolfoFerro/pandas_twitter

Repository files navigation

Sentiment analysis on Trump's tweets (workshop) using Python 🐍

DESCRIPTION:

In this workshop we will:

  1. Extract twitter data using tweepy and learn how to handle it using pandas.
  2. Do some basic statistics and visualizations with numpy, matplotlib and seaborn.
  3. Do sentiment analysis of extracted (Trump's) tweets using textblob.

You'll find this workshop quite interesting. It was originally delivered in Mexico City for an awesome group of students at Laboratoria. All workshop instructions assume minimal prior experience with the Twitter API, statistics, and data visualization. All code can be found in the Jupyter Notebook.

For this workshop I'll be using the 4.3.0 of the Jupyter Notebook (check their LICENSE), but any greater release until the current one (5.1.0) will work fine.

Contents

You will find a well structured markdown file containing the contents for each section, you can directly begin on the prerequisite section. At the end of each file you'll find the direct link to the next/previous section, so you do not need to keep going back to this README in order to got to the desired section.

  1. Prerequisite: What will we need?
  2. Extracting twitter data (tweepy + pandas)
  3. Visualization and basic statistics
  4. Sentiment analysis
  5. References

About

Analyzing Trump's tweets using Python (Pandas + Twitter workshop)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published