Add test for pl.len()
on LazyFrames
#21349
Labels
bug
Something isn't working
good first issue
Good for newcomers
python
Related to Python Polars
test
Related to the test suite
Checks
Reproducible example
Log output
Issue description
I am not sure the extent of the issue, but I noticed that
pl.len()
, in combination with.unique()
, reports the wrong results on LazyFrames when doing unique by more than one column. The correct results are shown on the DataFrame. Note that.unique()
itself seems to be fine, as the resulting DataFrames are equivalent. Also,reports a ColumnNotFoundError, which seems related to #21343
Expected behavior
The expected behavior is that the DataFrame heights match up with the LazyFrame
pl.len()
.Installed versions
The text was updated successfully, but these errors were encountered: