From 441b7ce063fb4ec69af9bc6eab5af9ba44c41521 Mon Sep 17 00:00:00 2001 From: Marco Gorelli <33491632+MarcoGorelli@users.noreply.github.com> Date: Wed, 21 Feb 2024 15:02:57 +0000 Subject: [PATCH] it gets better --- narwhals/pandas_like/group_by_object.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/narwhals/pandas_like/group_by_object.py b/narwhals/pandas_like/group_by_object.py index b71dc0aad..4296aad46 100644 --- a/narwhals/pandas_like/group_by_object.py +++ b/narwhals/pandas_like/group_by_object.py @@ -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, @@ -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 @@ -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, )