Skip to content

Commit

Permalink
Add the vaex library (includes a test) (#1031)
Browse files Browse the repository at this point in the history
  • Loading branch information
JovanVeljanoski authored Jun 18, 2021
1 parent 6d08285 commit 411e2f5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ RUN pip install bleach && \

RUN pip install flashtext && \
pip install wandb && \
pip install vaex && \
pip install marisa-trie && \
pip install pyemd && \
pip install pyupset && \
Expand Down
10 changes: 10 additions & 0 deletions tests/test_vaex.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import unittest

import vaex

class TestVaex(unittest.TestCase):
def test_read_csv(self):
df = vaex.read_csv("/input/tests/data/train.csv")

self.assertEqual((100, 785), df.shape)
self.assertEqual(10, df['label'].nunique())

0 comments on commit 411e2f5

Please sign in to comment.