From 5503a433c3867f2bb793107ae92f5ea5811b9c9b Mon Sep 17 00:00:00 2001 From: Marco Edward Gorelli Date: Tue, 10 Sep 2024 13:32:52 +0100 Subject: [PATCH] Update narwhals/_pandas_like/dataframe.py --- narwhals/_pandas_like/dataframe.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/narwhals/_pandas_like/dataframe.py b/narwhals/_pandas_like/dataframe.py index 4164237cf..5a05f3f9f 100644 --- a/narwhals/_pandas_like/dataframe.py +++ b/narwhals/_pandas_like/dataframe.py @@ -105,9 +105,7 @@ def __array__(self, dtype: Any = None, copy: bool | None = None) -> np.ndarray: return self.to_numpy(dtype=dtype, copy=copy) @overload - def __getitem__( # type: ignore[overload-overlap] - self, item: tuple[Sequence[int], Sequence[str], str | int] - ) -> PandasLikeSeries: ... + def __getitem__(self, item: tuple[Sequence[int], str | int]) -> PandasLikeSeries: ... # type: ignore[overload-overlap] @overload def __getitem__(self, item: Sequence[int]) -> PandasLikeDataFrame: ...