| @@ -505,6 +505,7 @@ ExtensionType Changes |
|
|
| 505 |
505 |
- :meth:`Series.astype` and :meth:`DataFrame.astype` now dispatch to :meth:`ExtensionArray.astype` (:issue:`21185:`). |
| 506 |
506 |
- Slicing a single row of a ``DataFrame`` with multiple ExtensionArrays of the same type now preserves the dtype, rather than coercing to object (:issue:`22784`) |
| 507 |
507 |
- Added :meth:`pandas.api.types.register_extension_dtype` to register an extension type with pandas (:issue:`22664`) |
|
508 |
+- Updated the ``.type`` attribute for ``PeriodDtype``, ``DatetimeTZDtype``, and ``IntervalDtype`` to be instances of the dtype (``Period``, ``Timestamp``, and ``Interval`` respectively) (:issue:`22938`) |
| 508 |
509 |
|
| 509 |
510 |
.. _whatsnew_0240.api.incompatibilities: |
| 510 |
511 |
|