Skip to content

Commit 36973a2

Browse files
committed
fixes type annotations
1 parent 5d1d2ca commit 36973a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/core/frame.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
)
8080
from pandas.core.dtypes.missing import isna, notna
8181

82-
from pandas._typing import Axes, Dtype
82+
from pandas._typing import Axes, Dtype, DType
8383
from pandas.core import algorithms, common as com, nanops, ops
8484
from pandas.core.accessor import CachedAccessor
8585
from pandas.core.arrays import Categorical, ExtensionArray
@@ -3484,8 +3484,8 @@ def select_dtypes(self, include=None, exclude=None):
34843484
keep_these = np.full(self.shape[1], True)
34853485

34863486
def extract_unique_dtypes_from_dtypes_list(
3487-
dtypes_list: List[Type], unique_dtypes: List[Type]
3488-
) -> List[Type]:
3487+
dtypes_list: FrozenSet[DType], unique_dtypes: np.ndarray
3488+
) -> List[DType]:
34893489
extracted_dtypes = []
34903490
for unique_dtype in unique_dtypes:
34913491
if any(issubclass(unique_dtype.type, dtype) for dtype in dtypes_list):

0 commit comments

Comments
 (0)