In this chapter, we will make use of two datasets. First, we will download the global list of airports as of 2017. We will download it from the OpenFlights website. They have multiple datasets—airports, airlines, routes, and aeroplanes in use. These are available on their data page at: https://openflights.org/data.html.
This is how it should appear: https://github.com/PacktPublishing/Superset-Quick-Start-Guide/blob/master/Graphics/Chapter%207/Chart%201.png
We will fetch the airports dataset from the following GitHub link: https://raw.githubusercontent.com/jpatokal/openflights/master/data/airports.dat. Some changes have to be made before uploading it. In the Chapter07 directory for the GitHub repository, you will find the generate_dataset.ipynb Jupyter Notebook. Run it to create the two datasets.
This is the code for creating the airports_modified.csv file:
import...