Skip to content

This code is used to take input of a query, such as bitcoin, and then analyzes a specified amount of tweets by the user. It then uses matplotlib to plot a pie chart based on the sentiment of the tweets

Notifications You must be signed in to change notification settings

buzzpranav/TwitterSentimentAnalysis.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

TwitterSentimentAnalysis

This code is used to take input of a query, such as bitcoin, and then analyze a specified amount of tweets by the user.

Workflow


1. Pull tweets via Twitter API (tweepy)
2. Save tweets to CSV file (csv)
3. Analyze sentiment of each tweet (TextBlob)
4. Plot results (Matplotlib)

About

This code is used to take input of a query, such as bitcoin, and then analyzes a specified amount of tweets by the user. It then uses matplotlib to plot a pie chart based on the sentiment of the tweets

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages