kind
stringclasses
4 values
sound
stringclasses
4 values
dog
woof
cat
meow
pokemon
pika
human
hello

[doc] formats - csv - 3

This dataset contains one csv file at the root:

# ignored comment
col1|col2
dog|woof
cat|meow
pokemon|pika
human|hello

We define the config name in the YAML config, as well as the exact location of the file, the separator as "|", the name of the columns, and the number of rows to ignore (the row #1 is a row of column headers, that will be replaced by the names option, and the row #0 is ignored). The reference for the options is the documentation of pandas.read_csv().

---
configs:
- config_name: default
  data_files: "data.csv"
  delimiter: "|"
  header: 1
  names: ["kind", "sound"]
size_categories:
- n<1K
---
Downloads last month
0
Edit dataset card

Collection including datasets-examples/doc-formats-csv-3