Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,7 @@ RUN rm -rf /opt/conda/lib/python3.10/site-packages/numpy* && \
s3fs \
gcsfs \
kaggle-environments \
hvplot \
# geopandas > v0.14.4 breaks learn tools
geopandas==v0.14.4 \
"shapely<2" \
Expand Down
9 changes: 7 additions & 2 deletions tests/test_polars.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@

import polars as pl

class TestPolars(unittest.TestCase):
class TestPolars(unittest.TestCase):
def test_read_csv(self):
data = pl.read_csv("/input/tests/data/train.csv")
data = pl.read_csv('/input/tests/data/train.csv')

self.assertEqual(100, len(data))

def test_plot(self):
# This relies on the hvplot package
data = pl.read_csv('/input/tests/data/train.csv')
data.plot.line()