# Loading a CSV File

pd.read_csv loads a CSV file into a DataFrame, usecols and nrows load only the columns and rows you need, sep reads a file whose values are split by semicolons, and a FileNotFoundError means the path doesn't lead from the folder the notebook runs in to the file.

![Cheat sheet: Loading a CSV File](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/cf02500b98454d1cb998ff51c38351ff.webp)

- Category: Data Analysis
- Level: Apprentice
- Tags: CSV File, FileNotFoundError, python, read_csv(), Relative Path (operating-system)
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/pandas-read-csv-cheat-sheet
