文件名称:DataScienceHW:专案2
文件大小:32.8MB
文件格式:ZIP
更新时间:2024-05-21 07:40:17
JavaScript
# Dependencies import numpy as np import pandas as pd import matplotlib . pyplot as plt import json import tweepy import time import seaborn as sns # Initialize Sentiment Analyzer from vaderSentiment . vaderSentiment import SentimentIntensityAnalyzer analyzer = SentimentIntensityAnalyzer () % matplotlib inline #Need to hide the key later consumer_key = 'HHgynO6AhJ1Eyy9OTw4qXpv2e' consumer_secret