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.
1 parent 367a71a commit 2b7461aCopy full SHA for 2b7461a
tests/test_polars.py
@@ -723,9 +723,11 @@ def test_polars_arrow_table_narrows():
723
d = pl.DataFrame({"x": [1, 2], "y": [3, 4]})
724
ops = data_algebra.TableDescription(column_names=["x"])
725
res = ops.transform(d)
726
+ assert isinstance(res, pl.DataFrame)
727
expect = pl.DataFrame({"x": [1, 2]})
728
assert data_algebra.test_util.equivalent_frames(res, expect)
729
with pytest.raises(AssertionError):
730
d >> ops
731
res2 = d[["x"]] >> ops
732
+ assert isinstance(res2, pl.DataFrame)
733
assert data_algebra.test_util.equivalent_frames(res2, expect)
0 commit comments