h2oai / datatable

A Python package for manipulating 2-dimensional tabular data structures
https://datatable.readthedocs.io
Mozilla Public License 2.0
1.81k stars 155 forks source link

datatable.fread read csv and auto transfer 0/1 to bool8 #3478

Closed heyhpython closed 10 months ago

heyhpython commented 1 year ago
arnocandel commented 1 year ago

This is intentional since bools are just 0/1 integers internally. You can do DT[:, bool] = int to convert them to int8.