Skip to content

Commit

Permalink
avoid nw.all() with reductions
Browse files Browse the repository at this point in the history
  • Loading branch information
FBruzzesi committed Jan 10, 2025
1 parent 790d829 commit 476db55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/expr_and_series/n_unique_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

def test_n_unique(constructor: Constructor) -> None:
df = nw.from_native(constructor(data))
result = df.select(nw.all().n_unique())
result = df.select(nw.col("a", "b").n_unique())
expected = {"a": [3], "b": [4]}
assert_equal_data(result, expected)

Expand Down

0 comments on commit 476db55

Please sign in to comment.