Skip to content

Commit

Permalink
Update narwhals/_pandas_like/dataframe.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli authored Sep 10, 2024
1 parent 27966d9 commit 5503a43
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions narwhals/_pandas_like/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -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: ...
Expand Down

0 comments on commit 5503a43

Please sign in to comment.