For this analysis, i'll be using a Reddit API wrapper, called "praw", to loop through the /r/politics subreddit headlines. In [1]: from IPython import display import math from pprint import pprint import pandas as pd import numpy as np import nltk import matplotlib.pyplot as plt import seaborn as sns sns.set(style='darkgrid', context='talk', palette='Dark2') In [2]: """ For this … Continue reading Sentiment-analysis-Raddit-api
