For certain numeric columns, it's possible that the first entries are representable as integer, with only the later entries being representable as double. In such a case, calls to read_csv() can fail as the inferred integer tokenizer will fail to tokenize those later entries.
Would it be possible for readr to instead just promote the tokenizer from integer to double on the fly in such a case?
The text was updated successfully, but these errors were encountered:
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/
lockbot
locked and limited conversation to collaborators
Sep 25, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
2 participants
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.
For certain numeric columns, it's possible that the first entries are representable as integer, with only the later entries being representable as double. In such a case, calls to
read_csv()
can fail as the inferred integer tokenizer will fail to tokenize those later entries.Would it be possible for
readr
to instead just promote the tokenizer from integer to double on the fly in such a case?The text was updated successfully, but these errors were encountered: