doc-formats-csv-2 / README.md
Albi96's picture
Update README.md
23dd350 verified
|
raw
history blame
525 Bytes
---
configs:
- config_name: default
data_files: '*.csv'
sep: ','
size_categories:
- n<1K
tags:
- finance
---
# [doc] formats - csv - 2
This dataset contains one csv file at the root:
- [data.csv](./data.csv)
```csv
kind,sound
dog,woof
cat,meow
pokemon,pika
human,hello
```
We define the separator as `","` in the YAML config, as well as the config name and the location of the file, with a glob expression:
```yaml
---
configs:
- config_name: default
data_files: "*.csv"
sep: ","
size_categories:
- n<1K
---
```