Files, CSV, JSON and Handling Errors
Read and write text, CSV and JSON files, the formats most business and AI data comes in, and handle problems gracefully with try and except so one bad row does not crash your program.
Part of Python for AI and Data, module 3: Functions, Files and Data
What you will learn
- Task 1: Reading and writing text files
- Task 2: CSV files
- Task 3: JSON: the language of APIs
- Task 4: Handling errors with try and except
- Task 5: Practice: a tiny data pipeline
Key terms in this lesson
Start learning free
This lesson is part of the Premium. Create a free account to start with the free lessons first.
← Functions, Modules and Packages · Data Analysis with pandas →