We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cc1ca0 commit ae50e39Copy full SHA for ae50e39
pandas/core/dtypes/common.py
@@ -1931,8 +1931,6 @@ def _is_dtype_type(arr_or_dtype, condition):
1931
if issubclass(arr_or_dtype, ExtensionDtype):
1932
arr_or_dtype = arr_or_dtype.type
1933
return condition(np.dtype(arr_or_dtype).type)
1934
- elif arr_or_dtype is None:
1935
- return condition(type(None))
1936
1937
# if we have an array-like
1938
if hasattr(arr_or_dtype, 'dtype'):
0 commit comments