starting an analysis of trends in the use of visual advertising in Newspaper Navigator

This notebook will work with the predictions generated in the previous notebook and begin to look at some ways in which we can explore this data. This will only scratch the surface and will focus on two main areas:

  • working with the predictions as a 'tabular' form of data using pandas
  • visualizing the data using hvplot

We'll explain this in more detail as we go.

We'll start by importing a few packages. The most relevant one here is Pandas which we'll use for working with tabular data. We'll cover the others as we use them.

import pandas as pd
from PIL import Image
import requests
import io

We'll import matplotlib and set a different style

import matplotlib.pyplot as plt'ggplot')

Install note

The process for installing hvplot can be found in their documentation

We also import holoviews and hvplot which we'll use for visualizing our data. These will be discussed in more detail later on.

import holoviews as hv
import hvplot.pandas