We will start by importing the necessary modules.
Import pandas to enable you to read in the data and start exploring it. The following screenshot shows the import pandas command:
![](https://static.packt-cdn.com/products/9781789537000/graphics/assets/e45e50b1-57f5-496c-ad52-ccce329b2305.png)
Also, import matplotlib for drawing plots from the data.
We need to set some options for pandas and matplotlib. The following screenshot shows the command for importing matplotlib:
![](https://static.packt-cdn.com/products/9781789537000/graphics/assets/6f0cf7fa-f6ab-441a-879f-fcf6f2e8d83b.png)
The first option we will set is called options.mode.chained_assignment = None.
The preceding option is to make sure that the operations are for the cleanup, which will be performed on the pandas DataFrame objects; we want the cleanup to happen on the original DataFrame objects and not on copies.
The following screenshot shows the options.mode.chained_assignment = None option:
![](https://static.packt-cdn.com/products/9781789537000/graphics/assets/ecd35dc5-359e-407b-a34e-3d2007163a89.png)
Also, set matplotlib to visualize and display all the charts shown in the following screenshot...