We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84e11f1 commit 556593cCopy full SHA for 556593c
2 files changed
Dockerfile.tmpl
@@ -484,6 +484,7 @@ RUN rm -rf /opt/conda/lib/python3.10/site-packages/numpy* && \
484
s3fs \
485
gcsfs \
486
kaggle-environments \
487
+ hvplot \
488
# geopandas > v0.14.4 breaks learn tools
489
geopandas==v0.14.4 \
490
"shapely<2" \
tests/test_polars.py
@@ -2,9 +2,14 @@
2
3
import polars as pl
4
5
-class TestPolars(unittest.TestCase):
+class TestPolars(unittest.TestCase):
6
def test_read_csv(self):
7
- data = pl.read_csv("/input/tests/data/train.csv")
+ data = pl.read_csv('/input/tests/data/train.csv')
8
9
self.assertEqual(100, len(data))
10
11
+ def test_plot(self):
12
+ # This relies on the hvplot package
13
14
+ data.plot.line()
15
+
0 commit comments