Python is the ideal language to process data. That’s one of the reasons it’s used so much for data science. Python supports JSON and XML out of the box, but there are also many external libraries on PyPI to aid you with processing data, like PyYAML. In this chapter, we’ll dive into processing data of all kinds.
For now, I’ve only touched on the subject of JSON and YAML, but there are more topics in the proverbial pipeline:
- Processing plain text files
- Working with JSON
- Reading and writing YAML in Python
- Processing CSV data
- Reading Excel data with Python
- Processing PDF files
