Upload 2 files
Browse files
README.md
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
configs:
|
3 |
+
- config_name: default
|
4 |
+
data_files: "data.csv"
|
5 |
+
delimiter: "|"
|
6 |
+
header: 0
|
7 |
+
names: ["kind", "sound"]
|
8 |
+
size_categories:
|
9 |
+
- n<1K
|
10 |
+
---
|
11 |
+
|
12 |
+
# [doc] formats - csv - 1
|
13 |
+
|
14 |
+
This dataset contains one csv file at the root. We provide several options in the YAML config (`"|"` delimiter, name of the columns, index of the header row). The reference for the options is the [documentation of pandas.read_csv()](https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html).
|
data.csv
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
col1|col2
|
2 |
+
dog|woof
|
3 |
+
cat|meow
|
4 |
+
pokemon|pika
|
5 |
+
human|hello
|