Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/modules/csv/api-reference/csv-loader.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const data = await load(url_to_csv_without_header, CSVLoader, {csv: {header: fal
## Options

| Option | Type | Default | Description |
| ----------------------- | ----------------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
|-------------------------|-------------------|--------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `csv.shape` | String | `object-row-table` | `'object-row-table'` rows are objects (keyed by colum name). `'array-row-table'` rows are arrays of values. |
| `csv.header` | Boolean \| String | `auto` | If `true`, the first row of parsed data will be interpreted as field names. If `false`, the first row is interpreted as data. |
| `csv.columnPrefix` | String | `column` | The prefix to use when naming columns for CSV files with no header. Defaults to 'column1', 'column2' etc. |
Expand Down