When we are working with data for human consumption, the easiest way to store it is in text files. In this section, we will present parsing examples of the most common formats such as CSV, JSON, and XML. These examples will be very helpful in the following chapters.
The dataset used for these examples is a list of Pokemon by National Pokedex number, obtained from:
All the scripts and dataset files can be found in the author's GitHub repository:
CSV is a very simple and common open format for table-like data, which can be exported and imported by most of the data analysis tools. CSV is a plain text format; this means that the file is a sequence ...