Skip to content

Commit c7df3ba

Browse files
author
Jon M. Mease
committed
Added test case for GH 14334
1 parent 6dcc238 commit c7df3ba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pandas/tests/test_groupby.py

+5
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,11 @@ def test_grouper_creation_bug(self):
442442
result = g.sum()
443443
assert_frame_equal(result, expected)
444444

445+
# GH14334
446+
g = df.groupby([pd.Grouper(key='A')])
447+
result = g.sum()
448+
assert_frame_equal(result, expected)
449+
445450
# GH8866
446451
s = Series(np.arange(8, dtype='int64'),
447452
index=pd.MultiIndex.from_product(

0 commit comments

Comments
 (0)