Skip to content

Commit 441b7ce

Browse files
committed
it gets better
1 parent 2c08b7c commit 441b7ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

narwhals/pandas_like/group_by_object.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def agg(
5252
) -> LazyFrame:
5353
from narwhals.pandas_like.dataframe import LazyFrame
5454

55-
df = self._df.dataframe # type: ignore[attr-defined]
55+
df = self._df.dataframe
5656
exprs = parse_into_exprs(
5757
get_namespace(self._df),
5858
*aggs,
@@ -63,7 +63,7 @@ def agg(
6363
sort=False,
6464
as_index=False,
6565
)
66-
implementation: str = self._df._implementation # type: ignore[attr-defined]
66+
implementation: str = self._df._implementation
6767
output_names: list[str] = self._keys
6868
for expr in exprs:
6969
expr_output_names = expr._output_names
@@ -109,5 +109,5 @@ def agg(
109109
return LazyFrame(
110110
results_keys,
111111
api_version=self.api_version,
112-
implementation=self._df._implementation, # type: ignore[attr-defined]
112+
implementation=self._df._implementation,
113113
)

0 commit comments

Comments
 (0)