h2oai / h2oai/datatable

fread converts `1` to `True` when reading certain csv files

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

Description

- Did you find a bug in datatable, or maybe the bug found you?
fread convert 1 to True for certain csv file

- How to reproduce the bug?
I was working on the csv file 'debug.csv' which has lots of 1 in the first column. I noticed that when I read the file in datatable 0.10.1 by fread, it looks fine. But if I do the same thing using datatable 1.0.0, many '1' will be converted to 'True'.

datatable_debug1_screenshot

[debug.csv](https://github.com/h2oai/datatable/files/7086166/debug.csv)
import datatable as dt
dt.fread('debug.csv')

- Your environment?
datatable 1.0.0, python 3.7.11, macOS BigSur 11.2.3

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.