geoMap.csv GGtrend_HCQ_2020.csv HCQ_event.csv tweets_manual_classifying.csv Import libraries #libraries import pandas as pd import matplotlib.pyplot
Question:
geoMap.csv
GGtrend_HCQ_2020.csv
HCQ_event.csv
tweets_manual_classifying.csv
Import libraries
#libraries import pandas as pd import matplotlib.pyplot as plt import seaborn as sns
Task 1:
We want to see the online users' reaction patterns in the time domain, including (a) Number of tweets, favorites on Twitter, (b) Google keyword search score.
Make the following plot. You can take the events of the plot from the HCQ_event.csv file. Your figure should look similar (though not necessarily identical)
# YOUR CODE HERE raise NotImplementedError()
Task 2:
We want to look closer at the number of tweets and favorites sent out on the five above days (the days you made annotations on)
Make the following plot. Your figure should look similar (though not necessarily identical)
In this plot,
the teal bars = #tweets on an event day / mean of #tweets on a day
the salmon bars = #favorites on an event day / mean of #favorites on a day
# YOUR CODE HERE
raise NotImplementedError()
Task 3:
We want to see the distributions of reply_count and retweet_count for a tweet.
Make the following plot. Your figure should look similar (though not necessarily identical)
# YOUR CODE HERE raise NotImplementedError()
Task 4:
We want to look see if there is any patterns of posted tweets and favorites over days of weeks.
Make the following plot. Your figure should look similar (though not necessarily identical)
# YOUR CODE HERE raise NotImplementedError()
Task 5:
We want to look see if there is any relationships between the number of tweets and the number of favorites sending out on a day.
Make the following plot. Your figure should look similar (though not necessarily identical)
# YOUR CODE HERE raise NotImplementedError()
Task 6:
Use the geoMap.csv file to produce a heatmap of Google HCQ searching score over states in the US.
Make the following plot. Your figure should look similar (though not necessarily identical)
# YOUR CODE HERE raise NotImplementedError()
Task 7:
Use the tweets_manual_classifying.csv file to produce wordcloud plots
(a) Most frequently used words,
(b) Positive vs. negative words using "Bing" lexicon
Make the following plot. Your figure should look similar (though not necessarily identical)
Fundamental Managerial Accounting Concepts
ISBN: 978-0078110894
6th Edition
Authors: Edmonds, Tsay, olds