Skip to content

Commit 5943b3a

Browse files
authored
chore: simplify duckdb group-by (#1911)
simplify ducks
1 parent d48b8a3 commit 5943b3a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

narwhals/_duckdb/group_by.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,5 @@ def agg(self: Self, *exprs: DuckDBExpr) -> DuckDBLazyFrame:
4949
)
5050

5151
return self._compliant_frame._from_native_frame(
52-
self._compliant_frame._native_frame.aggregate(
53-
agg_columns, group_expr=",".join(f'"{key}"' for key in self._keys)
54-
)
52+
self._compliant_frame._native_frame.aggregate(agg_columns)
5553
)

0 commit comments

Comments
 (0)