Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEA] Support named aggregations in df.groupby().agg() #16528

Merged
merged 16 commits into from
Aug 15, 2024
Merged
Prev Previous commit
Next Next commit
forgot to remote expected warning
  • Loading branch information
Matt711 committed Aug 14, 2024
commit 7ee6fa2f4185bbcd640db1efe40a160a0aa6c052
6 changes: 3 additions & 3 deletions python/cudf/cudf/tests/test_column_accessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,9 @@ def test_replace_level_values_MultiColumn():
got = ca.rename_levels(mapper={"a": "f"}, level=0)
check_ca_equal(expect, got)

with pytest.raises(UserWarning):
got = ca.rename_levels(mapper={"a": "f"})
check_ca_equal(expect, got)
# passing without level kwarg assumes level=0
got = ca.rename_levels(mapper={"a": "f"})
check_ca_equal(expect, got)


def test_clear_nrows_empty_before():
Expand Down
Loading