Giter Club home page Giter Club logo

pandas_twitter's Introduction

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

pandas_twitter's People

Contributors

rodolfoferro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pandas_twitter's Issues

extracte Twitter's data

Hi,Thanks for the tutorial. I am interested in it.
I am getting error when I am trying to train the model.
An error occurred while extracting Twitter's data
Below is the error.
2018-03-26 14 44 52

I think the problem is that I don’t know how to use the parameters in the credentials.py
Personally, i think the consumer key is my personal twitter account and the consumer secert is my account password ,but I do not know how to get access_token and Access Token Secret

Thank you very much!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.