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
+15-15
Original file line number
Diff line number
Diff line change
@@ -45,14 +45,13 @@ Other Enhancements
45
45
46
46
.. _whatsnew_0240.api_breaking:
47
47
48
-
49
48
Backwards incompatible API changes
50
49
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51
50
52
51
.. _whatsnew_0240.api.datetimelike.normalize:
53
52
54
53
Tick DateOffset Normalize Restrictions
55
-
--------------------------------------
54
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
56
55
57
56
Creating a ``Tick`` object (:class:`Day`, :class:`Hour`, :class:`Minute`,
58
57
:class:`Second`, :class:`Milli`, :class:`Micro`, :class:`Nano`) with
@@ -129,22 +128,11 @@ Previous Behavior:
129
128
In [3]: pi - pi[0]
130
129
Out[3]: Int64Index([0, 1, 2], dtype='int64')
131
130
132
-
Datetimelike API Changes
133
-
^^^^^^^^^^^^^^^^^^^^^^^^
134
-
135
-
- For :class:`DatetimeIndex` and :class:`TimedeltaIndex` with non-``None`` ``freq`` attribute, addition or subtraction of integer-dtyped array or ``Index`` will return an object of the same class (:issue:`19959`)
136
-
- :class:`DateOffset` objects are now immutable. Attempting to alter one of these will now raise ``AttributeError`` (:issue:`21341`)
137
-
- :class:`PeriodIndex` subtraction of another ``PeriodIndex`` will now return an object-dtype :class:`Index` of :class:`DateOffset` objects instead of raising a ``TypeError`` (:issue:`20049`)
138
-
139
-
.. _whatsnew_0240.api.other:
140
-
141
-
Other API Changes
142
-
^^^^^^^^^^^^^^^^^
143
131
144
-
.. _whatsnew_0240.api.other.incompatibilities:
132
+
.. _whatsnew_0240.api.incompatibilities:
145
133
146
134
Series and Index Data-Dtype Incompatibilities
147
-
---------------------------------------------
135
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
148
136
149
137
``Series`` and ``Index`` constructors now raise when the
150
138
data is incompatible with a passed ``dtype=`` (:issue:`15832`)
@@ -167,6 +155,18 @@ Current Behavior:
167
155
...
168
156
OverflowError: Trying to coerce negative values to unsigned integers
169
157
158
+
Datetimelike API Changes
159
+
^^^^^^^^^^^^^^^^^^^^^^^^
160
+
161
+
- For :class:`DatetimeIndex` and :class:`TimedeltaIndex` with non-``None`` ``freq`` attribute, addition or subtraction of integer-dtyped array or ``Index`` will return an object of the same class (:issue:`19959`)
162
+
- :class:`DateOffset` objects are now immutable. Attempting to alter one of these will now raise ``AttributeError`` (:issue:`21341`)
163
+
- :class:`PeriodIndex` subtraction of another ``PeriodIndex`` will now return an object-dtype :class:`Index` of :class:`DateOffset` objects instead of raising a ``TypeError`` (:issue:`20049`)
164
+
165
+
.. _whatsnew_0240.api.other:
166
+
167
+
Other API Changes
168
+
^^^^^^^^^^^^^^^^^
169
+
170
170
- :class:`DatetimeIndex` now accepts :class:`Int64Index` arguments as epoch timestamps (:issue:`20997`)
0 commit comments