Session Ready
Exercise

Using inherited methods

You've now defined a Tweets class that's inherited methods from both Document and SocialMedia. In this exercise, you'll use inherited methods to visualize text from both tweets and retweets.

Be aware that this is real data from Twitter and as such there is always a risk that it may contain profanity or other offensive content (in this exercise, and any following exercises that also use real Twitter data).

Instructions 1/3
undefined XP
  • 1
  • 2
  • 3
  • import your text_analyzer package.
  • Define my_tweets as an instance of Tweets using the datacamp_tweets data that has been pre-loaded into your environment.