|
--- |
|
configs: |
|
- config_name: default |
|
data_files: "metadata.csv" |
|
delimiter: "|" |
|
header: 1 |
|
names: ["Id", "Raw text",normalised"] |
|
size_categories: |
|
- n<1K |
|
--- |
|
|
|
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()](https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html). |
|
|
|
```yaml |
|
--- |
|
configs: |
|
- config_name: default |
|
data_files: "metadata.csv" |
|
delimiter: "|" |
|
header: 1 |
|
names: ["Id", "Raw text",normalised"] |
|
size_categories: |
|
- n<1K |
|
--- |
|
``` |
|
|
|
|
|
|