Exploring with dir and help
A new method has been added to the Document
class. The method is a convenience wrapper around the plot_counter()
function you wrote in an earlier exercise. In this exercise, you'll use dir()
and help()
to identify how to utilize the new method.
This exercise is part of the course
Software Engineering Principles in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Import needed package
____
# Create instance of document
my_doc = ____(datacamp_tweets)