Skip to content

Commit 7e6d8ea

Browse files
committed
Restore construct_array_type
1 parent 2fa4bb0 commit 7e6d8ea

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pandas/core/dtypes/dtypes.py

+11
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,17 @@ def tz(self):
541541
"""The timezone."""
542542
return self._tz
543543

544+
@classmethod
545+
def construct_array_type(cls):
546+
"""Return the array type associated with this dtype
547+
548+
Returns
549+
-------
550+
type
551+
"""
552+
from pandas import DatetimeIndex
553+
return DatetimeIndex
554+
544555
@classmethod
545556
def construct_from_string(cls, string):
546557
"""

0 commit comments

Comments
 (0)