datatable.Type.bool8¶
bool8
The type of a column with boolean data.
In a column of this type each data element is stored as 1 byte. NA values are also supported.
The boolean type is considered numeric, where True
is 1 and False
is 0.
Examples¶
DT = dt.Frame([True, False, None]).type
DT.type
Type.bool8
DT
C0 | ||
---|---|---|
bool8 | ||
0 | 1 | |
1 | 0 | |
2 | NA |
The content on this page is licensed under the Creative Commons Attribution 4.0 License
(CC BY 4.0) ,
and code samples are licensed under the MIT License.