+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "readCSV"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++
## readCSV() function
### readCSV() function
Signature
```typescript
export declare function readCSV(csv: string, options?: CSVOptions): DataFrame[];
```
Import
```typescript
import { readCSV } from '@grafana/data';
```
Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| csv | string
| |
| options | CSVOptions
| |
Returns:
`DataFrame[]`