We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 06bf91f + 4bcce7f commit 7fae512Copy full SHA for 7fae512
Dockerfile
@@ -411,6 +411,7 @@ RUN pip install flashtext && \
411
pip install pydub && \
412
pip install pydegensac && \
413
pip install pytorch-lightning && \
414
+ pip install datatable && \
415
/tmp/clean-layer.sh
416
417
# Tesseract and some associated utility packages
tests/test_datatable.py
@@ -0,0 +1,17 @@
1
+import unittest
2
+import datatable as dt
3
+from datatable.internal import frame_integrity_check
4
+from datatable import ltype
5
+
6
+class TestDatatable(unittest.TestCase):
7
+ def test_fread(self):
8
+ d0 = dt.fread(
9
+ "L,T,U,D\n"
10
+ "true,True,TRUE,1\n"
11
+ "false,False,FALSE,0\n"
12
+ ",,,\n"
13
+ )
14
+ frame_integrity_check(d0)
15
+ assert d0.shape == (3, 4)
16
+ assert d0.ltypes == (ltype.bool,) * 4
17
+ assert d0.to_list() == [[True, False, None]] * 4
0 commit comments