diff --git a/pandas-stubs/core/frame.pyi b/pandas-stubs/core/frame.pyi index f8913c5cc..a020efae0 100644 --- a/pandas-stubs/core/frame.pyi +++ b/pandas-stubs/core/frame.pyi @@ -516,7 +516,7 @@ class DataFrame(NDFrame, OpsMixin): def T(self) -> DataFrame: ... def __getattr__(self, name: str) -> Series: ... @overload - def __getitem__(self, idx: Scalar | tuple[Hashable, ...]) -> Series: ... + def __getitem__(self, idx: Scalar | Hashable | tuple[Hashable, ...]) -> Series: ... @overload def __getitem__(self, rows: slice) -> DataFrame: ... @overload