Skip to content

Commit e2e059a

Browse files
author
Matt Roeschke
committed
remove redundant whatsnew section
1 parent c664b28 commit e2e059a

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

doc/source/whatsnew/v0.24.0.txt

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -158,38 +158,6 @@ array, but rather an ``ExtensionArray``:
158158
This is the same behavior as ``Series.values`` for categorical data. See
159159
:ref:`whatsnew_0240.api_breaking.interval_values` for more.
160160

161-
.. _whatsnew_0240.enhancements.calendarday:
162-
163-
:class:`Day` and associated frequency alias ``'D'`` were documented to represent
164-
a calendar day; however, arithmetic and operations with :class:`Day` consistently
165-
respected absolute time (i.e. ```Day(n)`` and acted identically to ```Timedelta(days=n)``).
166-
167-
:class:`CalendarDay` and associated frequency alias ``'CD'`` are now available
168-
and respect calendar day arithmetic. (:issue:`22274`, :issue:`20596`, :issue:`16980`, :issue:`8774`)
169-
170-
Addition with :class:`CalendarDay` across a daylight savings time transition:
171-
172-
.. ipython:: python
173-
174-
ts = pd.Timestamp('2016-10-30 00:00:00', tz='Europe/Helsinki')
175-
ts + pd.offsets.Day(1)
176-
ts + pd.offsets.CalendarDay(1)
177-
178-
However, if the resulting arithmetic results in a non-existent or ambiguous
179-
time, and error will raise
180-
181-
.. ipython:: python
182-
183-
Timestamp("2018-11-03 01:00:00", tz='US/Pacific') + CalendarDay(1)
184-
185-
The ``'CD'` frequency alias can be used with :func:`date_range` to create
186-
a sequence of dates that are separate by a calendar day.
187-
188-
.. ipython:: python
189-
190-
ts = pd.Timestamp('2016-10-30 00:00:00', tz='Europe/Helsinki')
191-
pd.date_range(start=ts, freq='CD', periods=3)
192-
pd.date_range(start=ts, freq='D', periods=3)
193161

194162
.. _whatsnew_0240.enhancements.other:
195163

0 commit comments

Comments
 (0)