Importing Python modules
Modules (sometimes called packages or libraries) help group together related sets of tools in Python. In this exercise, we'll examine two modules that are frequently used by Data Scientists:
statsmodels: used in machine learning; usually aliased assmseaborn: a visualization library; usually aliased assns
Note that each module has a standard alias, which allows you to access the tools inside of the module without typing as many characters. For example, aliasing lets us shorten seaborn.scatterplot() to sns.scatterplot().
Latihan ini adalah bagian dari kursus
Introduction to Data Science in Python
Latihan interaktif praktis
Cobalah latihan ini dengan menyelesaikan kode contoh berikut.
# Use an import statement to import statsmodels
____ ____