FIT1043 Assignment 3

1.解压缩文件。它有多大？
3.那里有多少个唯一页面？
5.“唐纳德·特朗普”一词（无视案件）出现了多少次

6.选择其中有“特朗普”一词的帖子ID和喜欢的帖子数（忽略帖子内容中提到），并且点赞次数大于100。根据like_count对数据进行排序（降序排列）并将其保存在名为“ trump.txt”。 （您需要添加输出的屏幕截图，包括前5行和报告中的列标题）。

7.“ the-wall-street-journal”已要求您重点分析针对

9.平均而言，哪种类型的帖子（事件，链接，照片，状态或视频）平均最多对“ the-wall-street-journal.csv”有效吗？换句话说，哪个post_type具有中位数最高的评论数？

The ‘abc-news’ asked you to help them to analyse the reactions of Facebook users to the posts
which they published about “Donald Trump” (ignore the case) by doing the following tasks.
10. Create a bar chart which shows the total number of reactions to the posts published by
“abc-news”, in which the posted message contains the term “Donald Trump”(ignore
the case) for each day of the week (‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’,
‘Friday’, ‘Saturday’, ‘Sunday’). Make sure the bar chart is sorted based on the weekdays
as shown in the screenshot below. Understanding what should be considered as a
reaction is a part of the answer to this question which you can figure out by checking
different columns of your dataset. You need to mention and justify the criterion which
you choose to define a reaction to a post. (Please pay attention that the plot does not
show the real values and it is created with fake data just to show you how the output
should be).
Figure 1:Sample output for question 10
11. Considering the created bar chart of question 10, name two days in which users have
shown the most reactions to the posts. Is there any difference between the number of
reactions during the weekdays and at the weekends?
12. We need to take a closer look at the total reactions in the two days which users have
shown the most reactions. Create two bar charts to show the hourly total reactions for
each of two days. What time did the most reactions happen on each day? Is there any
similarity between the number of hourly reactions in these two days? (Please pay
attention that the sample plot given below does not show the real values and it is created
with fake data just to show you how the output should be presented for this question.)
Figure 2: Sample output for question 12
13. Considering your exploration about the reactions in different days/times for the term
“Donald Trump” in posts by “abc-news”, answer the following questions.
a) What was the day and time which had the maximum number of reactions?
b) Do you think it is a good idea to recommend publishing a general post about
Trump in the days which you found in question 11 and the peak hours which
you found in question 12? What is your suggestion based on the analysis which