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.
Cet exercice fait partie du cours
Software Engineering Principles in Python
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Import needed package
____
# Create instance of document
my_doc = ____(datacamp_tweets)