We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c569cf commit 5f22e39Copy full SHA for 5f22e39
pandas-stubs/core/dtypes/common.pyi
@@ -4,6 +4,7 @@ from typing_extensions import TypeAlias
4
5
from pandas._typing import (
6
ArrayLike,
7
+ Dtype,
8
DtypeObj,
9
npt,
10
)
@@ -33,7 +34,7 @@ _ArrayOrDtype: TypeAlias = (
33
34
def is_object_dtype(arr_or_dtype: _ArrayOrDtype) -> bool: ...
35
def is_datetime64_dtype(arr_or_dtype: _ArrayOrDtype) -> bool: ...
36
def is_timedelta64_dtype(arr_or_dtype: _ArrayOrDtype) -> bool: ...
-def is_dtype_equal(source, target) -> bool: ...
37
+def is_dtype_equal(source: Dtype, target: Dtype) -> bool: ...
38
def is_string_dtype(arr_or_dtype: _ArrayOrDtype) -> bool: ...
39
def is_integer_dtype(arr_or_dtype: _ArrayOrDtype) -> bool: ...
40
def is_signed_integer_dtype(arr_or_dtype: _ArrayOrDtype) -> bool: ...
0 commit comments