Skip to content

Commit

Permalink
it gets better
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Feb 21, 2024
1 parent 2c08b7c commit 441b7ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions narwhals/pandas_like/group_by_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def agg(
) -> LazyFrame:
from narwhals.pandas_like.dataframe import LazyFrame

df = self._df.dataframe # type: ignore[attr-defined]
df = self._df.dataframe
exprs = parse_into_exprs(
get_namespace(self._df),
*aggs,
Expand All @@ -63,7 +63,7 @@ def agg(
sort=False,
as_index=False,
)
implementation: str = self._df._implementation # type: ignore[attr-defined]
implementation: str = self._df._implementation
output_names: list[str] = self._keys
for expr in exprs:
expr_output_names = expr._output_names
Expand Down Expand Up @@ -109,5 +109,5 @@ def agg(
return LazyFrame(
results_keys,
api_version=self.api_version,
implementation=self._df._implementation, # type: ignore[attr-defined]
implementation=self._df._implementation,
)

0 comments on commit 441b7ce

Please sign in to comment.