Skip to content

Commit 6ceafb4

Browse files
committed
add test for grouped column
1 parent fabfc8a commit 6ceafb4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/dt/test-nth.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,7 @@ def test_nth_grouped():
144144
assert_equals(DT_nth, DT_ref)
145145

146146

147-
def test_nth_grouped_by():
148-
"""Test nth when called on the `by` column"""
147+
def test_nth_grouped_column():
149148
DT = dt.Frame([0, 1, 0])
150149
DT_nth = DT[:, dt.nth(f.C0, 0), by(f.C0)]
151150
DT_ref = dt.Frame({'C0':[0,1], 'C1':[0,1]})

0 commit comments

Comments
 (0)