> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2-service-account.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CSV Reader

CSVReader is a reader class that allows you to read data from CSV files.

## Parameters

<Snippet file="csv-reader-reference.mdx" />

## Methods

### `read()`

Reads a CSV file and returns a list of documents.

| Parameter   | Type                   | Default  | Description                                  |
| ----------- | ---------------------- | -------- | -------------------------------------------- |
| `file`      | `Union[Path, IO[Any]]` | Required | Path to the CSV file or a file-like object   |
| `delimiter` | `str`                  | `","`    | Character used to separate fields in the CSV |
| `quotechar` | `str`                  | `'"'`    | Character used to quote fields in the CSV    |
| `name`      | `Optional[str]`        | `None`   | Name override for the resulting documents    |

### `async_read()`

The async variant of `read()`. It accepts the same parameters, plus:

| Parameter   | Type  | Default | Description                                         |
| ----------- | ----- | ------- | --------------------------------------------------- |
| `page_size` | `int` | `1000`  | Number of rows per page when paginating large files |
