Skip to content

Commit

Permalink
Add in .agg tests for string aggregations
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbluca committed May 12, 2022
1 parent e6f98aa commit a54ee42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/dask_cudf/dask_cudf/tests/test_groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ def test_groupby_basic(series, aggregation):
"func",
[
lambda df: df.groupby("x").agg({"y": "max"}),
lambda df: df.groupby("x").agg(["sum", "max"]),
lambda df: df.groupby("x").y.agg(["sum", "max"]),
lambda df: df.groupby("x").agg("sum"),
lambda df: df.groupby("x").y.agg("sum"),
],
)
def test_groupby_agg(func):
Expand Down

0 comments on commit a54ee42

Please sign in to comment.