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
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.24.0.txt
+18-7
Original file line number
Diff line number
Diff line change
@@ -128,6 +128,23 @@ Previous Behavior:
128
128
In [3]: pi - pi[0]
129
129
Out[3]: Int64Index([0, 1, 2], dtype='int64')
130
130
131
+
.. _whatsnew_0240.api.extension:
132
+
133
+
ExtensionType Changes
134
+
^^^^^^^^^^^^^^^^^^^^^
135
+
136
+
- ``ExtensionDtype`` has gained the ability to instantiate from string dtypes, e.g. ``decimal`` would instantiate a registered ``DecimalDtype``; furthermore
137
+
the ``ExtensionDtype`` has gained the method ``construct_array_type`` (:issue:`21185`)
138
+
- The ``ExtensionArray`` constructor, ``_from_sequence`` now take the keyword arg ``copy=False`` (:issue:`21185`)
139
+
- Bug in :meth:`Series.get` for ``Series`` using ``ExtensionArray`` and integer index (:issue:`21257`)
140
+
- :meth:`Series.combine()` works correctly with :class:`~pandas.api.extensions.ExtensionArray` inside of :class:`Series` (:issue:`20825`)
141
+
- :meth:`Series.combine()` with scalar argument now works for any function type (:issue:`21248`)
142
+
-
143
+
144
+
.. _whatsnew_0240.api.other:
145
+
146
+
Other API Changes
147
+
^^^^^^^^^^^^^^^^^
131
148
132
149
.. _whatsnew_0240.api.incompatibilities:
133
150
@@ -168,6 +185,7 @@ Other API Changes
168
185
^^^^^^^^^^^^^^^^^
169
186
170
187
- :class:`DatetimeIndex` now accepts :class:`Int64Index` arguments as epoch timestamps (:issue:`20997`)
188
+
- Invalid construction of ``IntervalDtype`` will now always raise a ``TypeError`` rather than a ``ValueError`` if the subdtype is invalid (:issue:`21185`)
171
189
-
172
190
-
173
191
@@ -344,13 +362,6 @@ Reshaping
344
362
-
345
363
-
346
364
347
-
ExtensionArray
348
-
^^^^^^^^^^^^^^
349
-
350
-
- Bug in :meth:`Series.get` for ``Series`` using ``ExtensionArray`` and integer index (:issue:`21257`)
351
-
- :meth:`Series.combine()` works correctly with :class:`~pandas.api.extensions.ExtensionArray` inside of :class:`Series` (:issue:`20825`)
352
-
- :meth:`Series.combine()` with scalar argument now works for any function type (:issue:`21248`)
0 commit comments