Matplotlib/Seaborn¶
Matplotlib is the Python library that handles data visualization. For the most part, however, we won't be working with matplotlib directly. It has a really bad API. Like, terrible.
Instead, we'll be using seaborn. Again, the convention among Python data people is to import it using a short name: import seaborn as sns
Seaborn provides us with some very fancy and easy to use plots. It can handle Pandas columns, Numpy arrays, ordinary Python lists, you name it.
I won't show more than one example here because there's another lesson covering several visualizations, but check out the official seaborn example gallery for the cool stuff you can do.
Also, before you can get plots to show up in jupyter notebooks, you probably have to do %matplotlib inline
to tell the notebook to render plots within the webpage.