> For the complete documentation index, see [llms.txt](https://prof-rossetti.gitbook.io/intro-to-python/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prof-rossetti.gitbook.io/intro-to-python/units/unit-5.md).

# Unit 5: Processing CSV Data

## Learning Objectives

In this unit, we'll learn how to use Python to process machine-readable data stored in Comma-Separated Values (CSV) format.

> NOTE: for extra optional bonus material, see also [Unit 5-B](/intro-to-python/units/unit-5b.md) for material about relational databases

## Discussions and Notes

* Program-Data Independence
* [Machine-readable Data Formats](/intro-to-python/notes/info-systems/datastores.md)
* [Managing Files](/intro-to-python/notes/python/file-management.md):
  * [The `os` Module](/intro-to-python/notes/python/modules/os.md#file-operations) (focusing on filepath construction)
* Processing CSV Files:
  * [The `csv` Module](/intro-to-python/notes/python/modules/csv.md)
  * [The `pandas` Package](/intro-to-python/notes/python/packages/pandas.md)

## Activities and Exercises

* "Monthly Sales Reporting" Exercise ([Local](/intro-to-python/exercises/monthly-sales-reporting.md) | [Colab](https://github.com/prof-rossetti/intro-to-python/tree/d62594892fb2af99fedd4f65703b3b8a8810be5e/exercises/monthly-sales-reporting/Monthly_Sales_Reporting_Exercise.ipynb))
