Skip to content

Commit

Permalink
cudf compat
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Feb 21, 2024
1 parent 953477c commit 5b71873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion narwhals/pandas_like/group_by.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def func(df: Any, expr: Expr) -> Any:
for key in self._keys:
if key in res.columns:
res = res.drop(columns=[key])
res = res.set_axis(expr._output_names, axis=1)
res.columns = expr._output_names
dfs.append(res)

results_keys = dataframe_from_dict(out, implementation=implementation)
Expand Down

0 comments on commit 5b71873

Please sign in to comment.