Logistical overview
In this chapter, I will demonstrate four projects, using four programs respectively. These are as follows:
csv_intro.py:Â An introduction to Python's built-incsvmodulepandas_intro.py: An introduction to thepandasmodulejson_to_csv.py: An exercise in working with CSVÂ dataxml_to_json.py: An introduction to theÂxml.etree.ElementTreemodule and an exercise in working with XML data
The finished product for each of these projects can be obtained from the code folder in the external resources. All of the external resources are available in one folder at the following link: https://goo.gl/8S58ra.
File system setup
To follow along with the exercises, you should create a project folder called ch4 to contain all of the code and data. There are a number of different programs, input datasets, and output datasets involved in the projects and exercises in this chapter. To keep things organized, I've created an additional folder to contain the code for the chapter. I've also fragmented...