Skip to content

Commit 8d74a2f

Browse files
DOC: consistent sphinx title levels (pandas-dev#21706)
1 parent 93c11c2 commit 8d74a2f

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

doc/source/whatsnew/v0.24.0.txt

+15-15
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,13 @@ Other Enhancements
4545

4646
.. _whatsnew_0240.api_breaking:
4747

48-
4948
Backwards incompatible API changes
5049
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5150

5251
.. _whatsnew_0240.api.datetimelike.normalize:
5352

5453
Tick DateOffset Normalize Restrictions
55-
--------------------------------------
54+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5655

5756
Creating a ``Tick`` object (:class:`Day`, :class:`Hour`, :class:`Minute`,
5857
:class:`Second`, :class:`Milli`, :class:`Micro`, :class:`Nano`) with
@@ -129,22 +128,11 @@ Previous Behavior:
129128
In [3]: pi - pi[0]
130129
Out[3]: Int64Index([0, 1, 2], dtype='int64')
131130

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-
^^^^^^^^^^^^^^^^^
143131

144-
.. _whatsnew_0240.api.other.incompatibilities:
132+
.. _whatsnew_0240.api.incompatibilities:
145133

146134
Series and Index Data-Dtype Incompatibilities
147-
---------------------------------------------
135+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
148136

149137
``Series`` and ``Index`` constructors now raise when the
150138
data is incompatible with a passed ``dtype=`` (:issue:`15832`)
@@ -167,6 +155,18 @@ Current Behavior:
167155
...
168156
OverflowError: Trying to coerce negative values to unsigned integers
169157

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+
170170
- :class:`DatetimeIndex` now accepts :class:`Int64Index` arguments as epoch timestamps (:issue:`20997`)
171171
-
172172
-

0 commit comments

Comments
 (0)