Skip to content

Commit 069db0a

Browse files
authored
Merge pull request #1215 from MarcoGorelli/patch-2
Add polars
2 parents b1d1573 + 8aa8c0d commit 069db0a

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

Dockerfile.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ RUN pip install pysal \
190190
seaborn python-dateutil dask python-igraph \
191191
pyyaml joblib husl geopy mne pyshp \
192192
pandas \
193+
polars \
193194
flax && \
194195
# Install h2o from source.
195196
# Use `conda install -c h2oai h2o` once Python 3.7 version is released to conda.

tests/test_polars.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import unittest
2+
3+
import polars as pl
4+
5+
class TestPolars(unittest.TestCase):
6+
def test_read_csv(self):
7+
data = pl.read_csv("/input/tests/data/train.csv")
8+
9+
self.assertEqual(100, len(data))
10+

0 commit comments

Comments
 (0)