Skip to content

Commit c8d5fca

Browse files
committed
TST: explicitly constructed expected DataFrame (pandas-dev#7002)
1 parent 8139d8e commit c8d5fca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/groupby/test_apply.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,5 +972,5 @@ def test_apply_function_with_indexing_return_column():
972972
}
973973
)
974974
result = df.groupby("foo1", as_index=False).apply(lambda x: x.mean())
975-
expected = DataFrame({"foo1": ["one", "three", "two"], "foo2": [3.0, 4.0, 4.0],})
975+
expected = DataFrame({"foo1": ["one", "three", "two"], "foo2": [3.0, 4.0, 4.0]})
976976
tm.assert_frame_equal(result, expected)

0 commit comments

Comments
 (0)