Skip to content

Commit d91ad93

Browse files
committed
add dropna arg to test
1 parent 77e7fc7 commit d91ad93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/groupby/test_apply.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ def trans2(group):
404404

405405

406406
def test_apply_transform(ts):
407-
grouped = ts.groupby(lambda x: x.month)
407+
grouped = ts.groupby(lambda x: x.month, dropna=False)
408408
result = grouped.apply(lambda x: x * 2)
409409
expected = grouped.transform(lambda x: x * 2)
410410
tm.assert_series_equal(result, expected)

0 commit comments

Comments
 (0)