You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
check ExtensionType in is_datetime64_any_dtype for array-likes (#57060)
* check for ExtensionType in is_datetime64_any_dtype
* use pre-commit
* add test and move doc entry
* check not date in test
* fix condition
* check type is not datetime.date
* fix comparison
* move description to ExtensionArray
* return True for date types
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v3.0.0.rst
+1-2
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,6 @@ Bug fixes
130
130
~~~~~~~~~
131
131
- Fixed bug in :meth:`DataFrame.join` inconsistently setting result index name (:issue:`55815`)
132
132
- Fixed bug in :meth:`Series.diff` allowing non-integer values for the ``periods`` argument. (:issue:`56607`)
133
-
-
134
133
135
134
Categorical
136
135
^^^^^^^^^^^
@@ -219,7 +218,7 @@ Sparse
219
218
220
219
ExtensionArray
221
220
^^^^^^^^^^^^^^
222
-
-
221
+
- Fixed bug in :meth:`api.types.is_datetime64_any_dtype` where a custom :class:`ExtensionDtype` would return ``False`` for array-likes (:issue:`57055`)
0 commit comments