Intro to Python for Computer Science and Data Science: Learning to Program with AI, Big Data and The Cloud
by Paul J. Deitel, Harvey M. Deitel
Exercises
13.1 (Percentage of English Tweets) Twitter is truly an international social network. Use the Twitter search API to look at 10,000 tweets. Look at each tweet’s
langproperty. Count and display the number of tweets in each language.13.2 (Percentage of Retweets) Look at 10,000 tweets and determine the percentage of tweets that begin with Twitter’s reserved word
RT(for retweet).13.3 (Percentage of Extended Tweets) Look at 10,000 tweets and determine what percentage of them are extended tweets.
13.4 (Basic Account Information) Get the ID, name, screen name and description of a Twitter account of interest to you.
13.5 (User Timeline) Get the last 10 tweets from an account of interest to you.
13.6 (Sentiment Analysis) When searching ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access