Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fread: invalid estimation of DT size for small files #2518

Closed
st-pasha opened this issue Dec 13, 2017 · 0 comments · Fixed by #2623
Closed

fread: invalid estimation of DT size for small files #2518

st-pasha opened this issue Dec 13, 2017 · 0 comments · Fixed by #2623
Milestone

Comments

@st-pasha
Copy link
Contributor

> data.table::fread("A\n100\n200", verbose=T)
...
  All rows were sampled since file is small so we know nrow=3 exactly
...

In fact, nrow=2 exactly. The header row is mistakenly counted with the data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant