h2oai / h2oai/datatable

Fread fails to parse file with a single unquoted string column

Open
#491 4 comments 0 reactions 0 assignees View on GitHub
bug fread low priority
Dominant language
C++
Stars
1.9k
Forks
164
Avg merge
7h 31m
Merged PRs (30d)
1

Description

```
>>> dt.fread("../h2o-3/smalldata/parser/column.csv")
RuntimeError: Line 3 from sampling jump 0 starting "Rating (ou" has more than the
expected 2 fields. Separator 2 occurs at position 12 which is character 5 of the last
field: "(out of 10)". Consider setting 'comment.char=' if there is a trailing comment
to be ignored.
```
This is the contents of the file:
```
ID
HELLO
Hello
Hello Kitty
Hello World
"Hercule Poriot"
Rating (out of 10)
Hello Goodbye by the Beatles
"Say hello, to my little friend"
Goodbye cruel world
"Ain't a thing like a chicken wing"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.