Skip to content

Commit d7a8e1b

Browse files
committed
Fixed
1 parent 598cc62 commit d7a8e1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/core/dtypes/common.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
from pandas.core.dtypes.dtypes import (
1111
registry, CategoricalDtype, CategoricalDtypeType, DatetimeTZDtype,
12-
DatetimeTZDtypeType, PeriodDtype, IntervalDtype,
12+
PeriodDtype, IntervalDtype,
1313
PandasExtensionDtype, ExtensionDtype,
1414
_pandas_registry)
1515
from pandas.core.dtypes.generic import (
@@ -1906,7 +1906,7 @@ def _get_dtype_type(arr_or_dtype):
19061906
elif isinstance(arr_or_dtype, CategoricalDtype):
19071907
return CategoricalDtypeType
19081908
elif isinstance(arr_or_dtype, DatetimeTZDtype):
1909-
return DatetimeTZDtypeType
1909+
return Timestamp
19101910
elif isinstance(arr_or_dtype, IntervalDtype):
19111911
return Interval
19121912
elif isinstance(arr_or_dtype, PeriodDtype):
@@ -1915,7 +1915,7 @@ def _get_dtype_type(arr_or_dtype):
19151915
if is_categorical_dtype(arr_or_dtype):
19161916
return CategoricalDtypeType
19171917
elif is_datetime64tz_dtype(arr_or_dtype):
1918-
return Timestmap
1918+
return Timestamp
19191919
elif is_period_dtype(arr_or_dtype):
19201920
return Period
19211921
elif is_interval_dtype(arr_or_dtype):

0 commit comments

Comments
 (0)