Skip to content

Commit

Permalink
Added test case for GH 14334
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon M. Mease committed Oct 20, 2016
1 parent 794f792 commit dfd3e09
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pandas/tests/test_groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,11 @@ def test_grouper_creation_bug(self):
result = g.sum()
assert_frame_equal(result, expected)

# GH14334
g = df.groupby([pd.Grouper(key='A')])
result = g.sum()
assert_frame_equal(result, expected)

# GH8866
s = Series(np.arange(8, dtype='int64'),
index=pd.MultiIndex.from_product(
Expand Down

0 comments on commit dfd3e09

Please sign in to comment.