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 8ebe597 commit 6e8eaffCopy full SHA for 6e8eaff
pandas/core/indexes/datetimelike.py
@@ -234,6 +234,10 @@ class DatetimeIndexOpsMixin(DatetimeLikeArrayMixin):
234
_resolution = cache_readonly(DatetimeLikeArrayMixin._resolution.fget)
235
resolution = cache_readonly(DatetimeLikeArrayMixin.resolution.fget)
236
237
+ def __array__(self, dtype=None):
238
+ # TODO properly dispatch to EA
239
+ return Index.__array__(self)
240
+
241
def equals(self, other):
242
"""
243
Determines if two Index objects contain the same elements.
0 commit comments