Format: CSV and TSV
Collection
6 datasets showcase how to configure and load CSV and TSV files.
•
6 items
•
Updated
•
6
kind
stringclasses 4
values | sound
stringclasses 4
values |
---|---|
dog
|
woof
|
cat
|
meow
|
pokemon
|
pika
|
human
|
hello
|
This dataset contains one csv file at the root:
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:
---
configs:
- config_name: default
data_files: "*.csv"
sep: ","
size_categories:
- n<1K
---